home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / suncomputeradministration < prev    next >
Encoding:
Text File  |  1995-04-11  |  113.6 KB  |  3,135 lines

  1. Archive-name: comp-sys-sun-faq
  2. Last-modified: 1995/3/3
  3. Version: 1.9.11
  4.  
  5. Frequently Asked Questions for Comp.sys.sun.admin
  6.  
  7. Last update March 3 1995
  8.  
  9. This is a collection of common questions posted to the comp.sys.sun.*
  10. hierarchy.
  11.  
  12. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  13. the Subject as Sun FAQ. Remember lets make this a better FAQ and
  14. that requires submissions and corrections so if you have
  15. an answer to a nontrival question send it to me.
  16.  
  17. This FAQ is available from thor.ece.uc.edu (129.137.8.118)
  18. in the /pub/sun-faq/FAQs. Get the file sun-faq.general. The sun-faq
  19. directory is also available from gopher.ece.uc.edu(129.137.8.118).
  20. Many other related FAQ's are in this directory too.
  21.  
  22. Other FAQ's that you should check are as follows:
  23.  
  24.     Sun Hardware FAQ edited by James W. Birdsall <jwbirdsa@picarefy.com>
  25.     Sun Managers FAQ edited by John DiMarco  <jdd@cdf.toronto.edu>
  26.     Solaris2.x FAQ edited by Casper Dik <casper@fwi.uva.nl>
  27.     Solaris2.x Porting FAQ by David Meyer <meyer@ns.uoregon.edu>
  28.     Celeste's Guide to Terminals & Modems under Solaris 2.x edited
  29.      by Celeste Stokely <celeste@xs.com>
  30.  
  31. I try to keep these up to date copies of all these files in 
  32.     ~ftp/pub/sun-faq/FAQs on thor.ece.uc.edu (129.137.8.118)
  33.  
  34.  
  35. Notes:    As of this writing almost all of these questions apply
  36.           to SunOS versions up to 4.1.4. SunOS 5.x questions
  37.           will start appearing gradually as more people start
  38.           installing SunOS 5.x(Solaris 2.x). 
  39.  
  40.     I am looking for suggestions on how to split this FAQ into
  41.     sections. These sections should follow the comp.sys.sun.* 
  42.     newsgroups(app, hardware, admin, misc, and wanted) and
  43.     section on bettering Sun Security. Basically, what
  44.     will end up with is a FAQ on each subject. Each
  45.     FAQ will have a Solaris1.x Section, a Solaris2x section,
  46.     and a section common to both.
  47.  
  48.     I will probably need some volunteers to help coordinate
  49.     this undertaking.. Send suggestion to the usual address.
  50.  
  51.     Some of these questions are out of date and need updating
  52.     when I get the time(or maybe a little birdie will do it for
  53.     me) I will update them. Thanks.
  54.  
  55.  
  56. This article includes answers to the following questions, which are loosely
  57. grouped into categories. Questions marked with a '+' indicate questions
  58. new to this issue; those with significant changes of content since the 
  59. last issue are marked by '!'.
  60.  
  61.  
  62.                 Questions
  63.  
  64.  1)     How to get DNS working when not running NIS ?
  65.  2)      How to get DNS to be used when running NIS ?
  66.  3)     How to properly setup NFS mounting of /var/spool/mail ?
  67.  4)       Can I use AnswerBook under X11R5?
  68.  5)     What does "NFS write error X" mean?
  69.  6)     How do I find the amount of memory installed or other
  70.     system configuration information?
  71.  7)     Where can I get a version of ftp that does logging?
  72.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  73.  9)        How to setup Openwindows Calendar Manager in a distributed
  74.     environment?
  75. 10)      Why does the talk command fail between SunOS
  76.     and any other manufacturer's equipment (like DEC)? 
  77. 11)       How do I setup "anonymous" ftp?
  78. 12)     How come yppasswdd does not automatically update the yp maps?
  79. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  80. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  81. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  82.         model?
  83. 16)     How can I turn my Sun3 into an X-Terminal?
  84. 17)    Why is my console login prompt garbled or in some strange 
  85.     alphabet after upgrading to 4.1.3?
  86. 18)      Why are the "random" missing services at boot time or any other time
  87.     (even though the services are in the /etc/services file or NIS map)?
  88. 19)    Where can I get Data Certified tapes for 8-mm tape drives (at
  89.     a reasonable price)?
  90. 20)       What is "archie"?
  91. 21)     How do I synchronize time on my Network?
  92. 22)      What is the phone number for Sun Express and other numbers of importance
  93.     to Sun Users? 
  94. 23)      How do I join sun related  mailing lists?
  95. 24)      How do I use Mac floppies in a SUN drive?
  96. 25)     How can I transfer floppies back and forth between MS-DOS and Sparc?
  97. 26)    Why is my biff not "biffing" when using biff in a networked
  98.     environment?
  99. 27)     How do I disable L1-A(STOP-A) or re-map it?
  100. 28)      Why are all the local users "unknown" when using sendmail under 4.1.2?
  101. 29)     What are the dump parameters for an exabyte 8200 or 8500?
  102. 30)     What are the guidelines for setting up swap space ?
  103. 31)    What are the general guidelines for maxusers to be set to on machine X?
  104. 32)    What does "zsN: silo overflow" mean?
  105. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  106.     signify?
  107. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  108. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  109.     connection to some non-Sun machine; it won't log in.  What's wrong?
  110. 36)     Do the Sun serial ports support RTS/CTS flow control?
  111. 37)    How do I specify that a serial port should, or should not, ignore the
  112.     state of the Carrier Detect line?
  113. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  114.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  115. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  116.     Control, and Esc keys inconvenient.  How do I remedy this?
  117. 40)      How can I move keys around on a Sun keyboard, for example exchanging the
  118.     Caps Lock and Control keys on a Type 5 keyboard?
  119. 41)       My Sun doesn't have an ANSI C compiler.  How can I get one?
  120. 42)      How do I change the time zone setting on my machine?
  121. 43)    I'm getting messages that say one of the following:
  122.          proc: table is full    and/or
  123.             file: table is full    and/or
  124.             dquot: table is full     and/or
  125.             inode: table is full
  126.          What do these errors mean, and how do I fix the problem?
  127. 44)      Blank at present.
  128. 45)      How do I run X11R5 applications under Openwindows or Openwindows 
  129.     applications under X11R5?
  130. 46)      Where do I find a "restricted" shell for SunOS?
  131. 47)       Will SunOS 4.1.x binaries run under SunOS 5.x?
  132. 48)     When I try to compile MITs X11R4 applications under Openwindows 3.0,
  133.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  134.     _get_applicationShellWidgetClass). What is the Problem?
  135. 49)        What is Solaris?
  136. 50)     What does the "nres_gethostbyaddr !=" error mean?
  137. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  138.         how do I repair it?
  139. 52)     After rebuilding the shared library libc it get some or all the 
  140.     following undefined symbols: dlsym, dlopen, dlclose mbstowcs_xccs,
  141.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  142. 53)     What does "No network locking on host" mean after upgrading to
  143.     Solaris 2.0?
  144. 54)     Does Password Aging work with NIS(YP) ?
  145. 55)     What does "rpc.lockd: Cannot contact status monitor!" mean?
  146. 56)    How do I join the Sun User Group(SUG)?
  147. 57)        How do I increase the number of "pseudo" terminals(ptys) ?
  148. 58)      Where are dump and restore under Solaris 2.x?
  149. 59)      How do I make the numeric keypad on a type 5 keyboard work with xterm?
  150. 60)       How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  151.     under Openwindows 3.0?
  152. 61)!       Which Sun models run which versions of SunOS?
  153. 62)      My rdump is failing with a "Protocol botched" message. What do I do?
  154. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  155. 64)     How do I setup DNS on Solaris2.x?
  156. 65)        Can a SPARCclassic or LX run SunOS 4.1.3?
  157. 66)      I just restored my root partation and now I can not boot. What
  158.     is wrong?
  159. 67)      How do I disable/enable packet forwarding?
  160. 68)      How do I disable the printing of banners pages?
  161. 69)      How do I change my hostname?
  162. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  163. 71)!     Where can I get the BSD print spooler for Solaris2.x?     
  164. 72)!    Where is the Solaris2.x screenblank?
  165. 73)!      Is there a command to display the configuration of 
  166.     currently attached SCSI devices?
  167. 74)     My printer will not print large files(over 1-megabyte), I 
  168.     keep getting "file to big" errors. What do I do?
  169. 75)      I keep getting "data corruption" when using NFS over a wan,
  170.     or slip/ppp link. What do I do? 
  171. 76)     Does anybody know how to enable UDP checksum on NFS?
  172. 77)      Is there a mailing list for Wabi?
  173. 78)      Are there any public domain Multi-Vendor backup management
  174.         systems?
  175. 79)     How to determine the revision of SuperSPARC processor.
  176. 80)     How do I install SunOS4.1.x by hand (off a CD)?
  177. 81)    Why won't my SUN207 (Maxtor LXT213) hard drive work in
  178.         my SPARCstation 10/xx?
  179. 82)     I'm running SunOS/4.1.x and every time I try to format my
  180.         new 9GB SCSI disk I get "format failed" messages -- what's
  181.         broke, and how can I fix it?
  182. 83)        I can not get my new Exabyte 8505(or others) working under
  183.          SunOS(or Solaris) What to do ?
  184. 84)      The keyboard keeps stop working after exiting X or Openwin.
  185.     What to do?
  186. 85)      How do I re-build the kernel under SunOS4.x?
  187. 86)      How do I hook up a HP(or other) Desktop SCANNER?
  188. 87)      How do I find which process has a file open?
  189. 88)       How do I create a partition greater than 2-gig on SunOS4.1.x?
  190. 89)       Why do I keep having to answer the question 
  191.     "CLEAN FLAG IN SUPERBLOCK IS WRONG; Fix?" when running fsck on
  192.     an active filesystem?
  193. 90)     Are dynamically linked setuid executables insecure?
  194. 91)     How do I change the default router under Solaris1.x or Solaris2.x?
  195. 92)     What is the difference between the Domestic vs International version
  196.     of SunOS 4.1.x?
  197. 93)     Where can I get the latest version of TOP?
  198. 94)     Can I run the SX card in a Sun running SunOS4.1.x?
  199. 95)     I just changed my shell to tcsh(or pick a favorite) and
  200.     get  "530 User xyzz access denied" when ftping into this 
  201.     machine. What is the problem?
  202. 96)    How do I put several dump images on one tape?
  203. 97)     Can I "dump" the whole disk to tape in one command?
  204.     (even with several slices/partitions)
  205. 98)     Where do I get software for my HP JetDirect Ethernet Card?
  206. 99)     I do not know the root password, What do I do?
  207. 100)      Where do I find a POP server for Solaris or SunOS?
  208. 101)     How do I clear Stale NFS Filehandles?
  209. 102)     How can I use the same ethernet interface for two different IP networks?
  210. 103)     Where do I get CAP for Solaris (or SunOS)?
  211. 104)     Where do I get DOOM for Solaris (or SunOS)?
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.                 Answers
  220.  
  221.  1)     How to get DNS working when not running NIS ?
  222.  
  223.     Note: Solaris2.x users should see question 64..
  224.     
  225.         The "normal" behavior of a hostname lookup under NIS is to
  226.         consult the NIS hosts map and then DNS (if configured). If
  227.     you are not running NIS the system will only look in 
  228.     the /etc/hosts file. 
  229.  
  230.     You have two options to correct this situation:
  231.  
  232.         A) Re-build the shared library version of libc with replacement
  233.            resolver routines which understand DNS. Resolv+ provides one
  234.                of the best sets of replacement routines and it is easy
  235.            to install. Resolv+ can be obtained from
  236.  
  237.                thor.ece.uc.edu:/pub/sun-faq/Source/resolv+2.1.1.tar.Z
  238.  
  239.            Rebuilding the shared library will not allow  statically
  240.            linked binaries to do name resolving and these binaries
  241.            will only use /etc/hosts. "Dynamically linked"
  242.            replacements for mount and rcp are available from
  243.  
  244.                thor.ece.uc.edu:/pub/sun-faq/Source/rcp-mount.dyn.tar.Z
  245.  
  246.            This file only contains sun4 binaries. A Sun 3 binary
  247.            for mount can be retrieved from
  248.  
  249.                thor.ece.uc.edu:/pub/sun-faq/Source/mount.sun3.Z
  250.         
  251.            To be able to rebuild shared libraries you need to 
  252.            install the "shlib custom" option which is available
  253.            with SunOS version 4.1 or greater. 
  254.  
  255.            If you want to do it under 4.0.3 you need to get the
  256.            patches available from ftp.uu.net (192.48.96.9) in the
  257.            /systems/sun/sun-fixes directory. You will need the following
  258.            files: 
  259.             lib.msg, libc_pic.a.sun3 or libc_pic.a.sun4 and
  260.             libc_resolv.so.sun3 or libc_resolv.so.sun4
  261.  
  262.            Make sure to get the README that cames with these files.
  263.            It is in the same directory.
  264.            
  265.                You can still use NIS for other things in environment,
  266.                such as passwd, and group maps.
  267.  
  268.         B) Run NIS with the "hosts" maps only. If you 
  269.            only need DNS capability than change the "all"
  270.            line /var/yp/Makefile to "all:  hosts".  
  271.  
  272.            It does not require any changes to shared libraries.
  273.         
  274.            See question 2 for complete directions on how to setup
  275.            DNS with NIS.
  276.  
  277.     Last Updated:  January 30, 1995.
  278.  
  279.  2)     How to get DNS to be used when running NIS ?
  280.  
  281.     First setup your /etc/resolv.conf file.
  282.  
  283.     Use this file as a template.
  284.  
  285.     ;
  286.     ; Data file for a client.
  287.     ;
  288.     domain        ece.uc.edu        ; local domain 
  289.     nameserver    129.137.8.118        ; primary domain nameserver
  290.     nameserver    129.137.32.101        ; secondary domain nameserver 
  291.  
  292.     Where:    "local domain" is the domain part of the hostnames.
  293.          For example, if your hostname is "thor.ece.uc.edu"
  294.          your "local domain" is "ece.uc.edu" or you could use
  295.         "uc.edu". 
  296.  
  297.     Verify using nslookup that you are now resolving names
  298.     via DNS. Try something like "nslookup ftp.uu.net" and
  299.     see if you get back the IP address.
  300.  
  301.     You will need to put a copy of this resolv.conf on
  302.     all NIS servers including slaves.
  303.  
  304.     After you have the /etc/resolv.conf setup and working do 
  305.     the following:
  306.  
  307.     Under SunOS 4.1 and greater, change the "B=" at the top
  308.     of the /var/yp/Makefile to "B=-b" or if using 4.0.x, edit
  309.     /var/yp/Makefile or apply the following "diff":
  310.  
  311. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  312. --- Makefile    Wed Jan 10 13:22:01 1990
  313. ***************
  314. *** 63 ****
  315. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  316. --- 63 ----
  317. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  318. ***************
  319. *** 66 ****
  320. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  321. --- 66 ----
  322. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  323.  
  324.     Now setup NIS in the usual fashion (ypinit -m ) or if your "brave"
  325.     and have already setup NIS just re-make the hosts map. Something
  326.     like this should work remove /var/yp/hosts.time, cd /var/yp, 
  327.     and type make (i.e. cd /var/yp; /bin/rm -f hosts.time ; make).
  328.  
  329.  
  330.     You will need reboot the machine or restart ypserv for these changes
  331.     to take affect.
  332.  
  333.     The manpage for ypserv incorrectly states that you need to
  334.     start ypserv with the -d option to get DNS to work with NIS.
  335.     The manpage is incorrect -d option is for debugging.
  336.  
  337.     If you need a copy of the NIS Makefile look in /usr/lib (NIS.Makefile).
  338.  
  339.     Last Updated:  January 30, 1995.
  340.  
  341.  
  342.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  343.  
  344.     On the Client machines:
  345.  
  346.         A) mount /var/spool/mail with the no attribute caching
  347.            option.
  348.         
  349.            An example, fstab line would be the following:
  350.  
  351.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  352.  
  353.         B) Use a sendmail.cf that forces all mail to be delivered
  354.            by the mailhost. 
  355.  
  356.            One such file is available via anonymous ftp to 
  357.            thor.ece.uc.edu. Get the file 
  358.  
  359.                 /pub/sun-faq/sendmail.client.cf
  360.  
  361.            Do not use the OR option that Sun provides. It is broken
  362.            in many ways.
  363.  
  364.     On the server machine:
  365.     
  366.         A) Setup DNS MX records pointing to the mailhost for
  367.            all client machines.
  368.  
  369.         B) Edit the /etc/exports file to export /var/spool/mail
  370.            to the mail client machines. You may want
  371.            to use a netgroup for this purpose.
  372.  
  373.         C) Setup the /etc/sendmail.cf on the server recognize
  374.            that mail to/from a client is "local".
  375.  
  376.            One such file is available via anonymous ftp to 
  377.            thor.ece.uc.edu. Get the file 
  378.  
  379.                 /pub/sun-faq/sendmail.server.cf
  380.         
  381.     Note:     You may want to install Berkeley sendmail instead of Suns
  382.         stock sendmail. 
  383.  
  384.  
  385.  
  386.  4)     Can I use AnswerBook under X11R5(6)?
  387.  
  388.     AnswerBook in its current form requires the Openwindows
  389.     server. It uses the NeWS/Display Postscript extensions
  390.     to this server to display the Answerbook files.
  391.  
  392.     To use AnswerBook under X11R5 you will need to replace the 
  393.     docviewer program with program that calls Ghostscript to view
  394.     these pages.  A replacement docviewer can downloaded from
  395.     thor.ece.uc.edu(129.137.8.118) as /pub/sun-faq/Source/docviewer.tar.gz
  396.     This kit contains more than one  docviewer. Try using
  397.     the one in the toplevel docviewer directory.
  398.  
  399.     This replacement docviewer does not support all the options that
  400.      the "real" docviewer supports such as "hypertext" links.
  401.  
  402.     To install the replacement "docviewer" you will also need 
  403.     Ghostscript 2.4 or above and Ghostview 1.3 or above both of
  404.      which are available from prep.ai.mit.edu in the /pub/gnu directory.
  405.  
  406.     This replacement docviewer is reported to work with all versions
  407.     of AnswerBook but not as well as the original :).
  408.     
  409.  
  410.  5)     What does "NFS write error X" mean?
  411.  
  412.         You can lookup the error codes in /usr/include/sys/errno.h.
  413.  
  414.         Two common NFS error codes are 13 - "permission denied" and 70 -
  415.         "stale file handle".
  416.  
  417.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  418.     it can occur because someone has changed the /etc/exports
  419.     entry to disallow the client after the client has already
  420.     been granted permission to perform this operation.
  421.  
  422.         Error code 70 occurs when the file handle on the
  423.     NFS server changes for a particular filesystem.
  424.     The "file handle" can be changed under the following
  425.     circumstances:
  426.         
  427.         A) Installing a new drive in place of an old.
  428.  
  429.         B) Moving a filesystem from one devices to
  430.            another.
  431.  
  432.         C) Performing a format, newfs, dump, and restore
  433.            cycle. Even if to the same device.
  434.  
  435.         D) Unmounting a file system without remounting it.
  436.  
  437.         E) Unmounting a High Sierra/ISO 9660 CD-ROM and
  438.                mounting a different CD.
  439.  
  440.         You can usually get rid of the error by unmounting and
  441.         remounting the filesystem in question. 
  442.  
  443.     Also, error code 70 can occur when someone removes a file 
  444.     that a process is actively writing from a NFS client machine.
  445.  
  446.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  447.         "file handle" given in the error message into a Unix pathname.
  448.         Beware that showfhd does a "find" on your server to get the
  449.         filename.  "man 2 intro" will give you some more general
  450.         information on what error codes could mean.
  451.  
  452.     You will need a patch to get "showfh" to work correctly. The patch
  453.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  454.     This patch has been integrated into 4.1.3.
  455.  
  456.  6)    How do I find the amount of memory installed or other
  457.     system configuration information?
  458.  
  459.     You can use the "devinfo" command to find out genera information 
  460.     about the hardware attached to your Sun. The "devinfo" command is 
  461.         only available on desktop SPARCsystems, SPARCengine 1E(although not
  462.         in the version used in Auspex systems), or 600MP series server only.
  463.  
  464.     Also, most clones should support devinfo.  Any machine that has an 
  465.     SBus will probably support "devinfo"; any machine that doesn't have an
  466.     SBus probably won't support "devinfo".
  467.     
  468.     The "best" command for the job is "sysinfo". Sysinfo is public
  469.     domain utility available via "anonymous" ftp on usc.edu in directory
  470.     /pub/sysinfo. Sysinfo works on all Sun architectures(including Sun-3s)
  471.         as well as many other UNIX boxes such as Ultrix, and Next. Also,
  472.     it works on SunOS5.x machines.
  473.  
  474.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  475.                the like will *not* give the correct answer on machines 
  476.            where physical memory is not contiguous, such as many Suns.
  477.  
  478.  
  479.  7)     Where can I get a version of ftp that does logging?
  480.  
  481.     Get the wuarchive ftp daemon. It is available from
  482.         wuarchive.wustl.edu (128.252.135.4) in the directory
  483.         /packages/wuarchive-ftpd
  484.  
  485.     A version of the wuarchive ftpd daemon that compiles right out
  486.     of the box for Solaris2.x machines can be had from
  487.     thor.ece.uc.edu(129.137.8.118) in the /pub/sun-faq directory.
  488.     Remember to specify your own paths in the src/pathnames.h file.
  489.  
  490.     The stock Sun ftpd will log some information if you add the "-l"
  491.            flag in /etc/inetd.conf:
  492.  
  493.             ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  494.  
  495.         Also enable syslogd by adding:
  496.  
  497.         daemon.info      /var/adm/syslog
  498.  
  499.         to "/etc/syslog.conf".
  500.  
  501.  
  502.  8)     Where can one get SunOS patches? Where can I get patch 10xxxx-xx?
  503.  
  504.         Many anonymous ftp sites have partial collections of patches.
  505.         These sites include the following:
  506.     
  507.     Sun sanctioned sites:
  508.         sunsolve1.sun.com:/pub/patches/
  509.                 via WWW http://sunsolve1.sun.com/
  510.         sunsite.unc.edu:/pub/sun-info/sun-patches/
  511.             sunsite.unc.edu:/pub/sun-info/sun-patches/
  512.             sunsite.sut.ac.jp:/pub/sun-info/sun-us/sun-patches/
  513.             sunsite.doc.ic.ac.uk:/sun/sunsite-sun-info/sun-patches/
  514.  
  515.     Note: You should always attempt to find a local site before
  516.           using the above.
  517.  
  518.     sunsolve1.sun.com contains a collection of recommended and 
  519.     security patches. Be sure to check out the 2.x_Recommended.tar.Z
  520.     files which contain all the Recommended patches in  one file.
  521.     The "Sunsites" are essentially mirrors of sunsolve.
  522.  
  523.     Support Customers:
  524.  
  525.         Starting with SunSolve CD 2.1.2 ALL Sun patches are shipped
  526.         on the SunSolve CD.
  527.  
  528.         Support customers can get all patches via ftp from Sunsolve
  529.         or by e-mail and query one of the online sunsolve-databases
  530.         on the internet.
  531.  
  532.     Some notes:    
  533.  
  534.     Do install the Recommended patches. 
  535.  
  536.     If you find a bug report it to Sun. This is the only way
  537.     it will get fixed.
  538.  
  539.     Do not "blindly" install all patches. Sun does not always
  540.     have time to test for possible interactions between patches.
  541.  
  542.     Do not install patches for applications that you to do use.
  543.  
  544.     Do install patches for "bugs" that are actually affecting you.
  545.  
  546.     Last Updated:  January 30, 1995.
  547.  
  548.  
  549.  9)    How to setup Openwindows Calendar Manager in a distributed
  550.     environment?
  551.  
  552.     Sun's original assumption that each user has a permanent machine 
  553.     allocated to them is not applicable in most environments. Just as 
  554.     users send mail to 'user' rather than 'user@machine', users want 
  555.     to browse others user's calendars and do not care or want to know
  556.     where the calendar is actually stored.
  557.  
  558.     Here is procedure to accomplish our goal. All calendars
  559.     will be stored on a central server. The initial setup
  560.     must be done on the server.
  561.  
  562.         A) Have the user login to the calendar host(calhost)
  563.            machine.
  564.         
  565.         B) Change everyone's .cm.rc file so that 
  566.            Calendar.DefaultCal points to user@calhost
  567.  
  568.            calhost can be an hostname alias or an actual
  569.            hostname. You may want to use the alias
  570.            just in case you change the "calhost" later.
  571.     
  572.         C) Change their Access List and Permissions (under
  573.                Edit/Properties) to show user@client with BID (browse,
  574.                insert, delete) permissions for any client machine the
  575.            user wanted to access their calendar from.
  576.  
  577.     Notes: If you use the scheme you should not NFS mount 
  578.            /var/spool/calendar on the client machines.
  579.  
  580.     or
  581.  
  582.     You can install the "Proxy OpenWindows Calendar Manager", which
  583.     is available via anonymous FTP from thor.ece.uc.edu in
  584.     /pub/sun-faq/proxy-cmsd.tar.Z.
  585.  
  586.     or
  587.     
  588.     You can install the "new cm daemon" which allows you to access
  589.     several Calendar hosts at once. It implements the "original"
  590.     rpc.cmsd daemon semantics(unlike proxy-cmsd) and thus all
  591.     the features(of CM) will work as documented.  The latest source
  592.     for this daemon was available via anonymous FTP from
  593.     ftp.amdahl.com (129.212.11.1) in the  /pub/newcm_d directory
  594.     but alas it is no longer but you can still get a copy from
  595.     from thor.ece.uc.edu as /pub/sun-faq/newcm_d-1.3.tar.Z
  596.  
  597.     As of this writing newcm is being ported to Solaris2.x.
  598.  
  599. 10)     Why does the talk command fail between SunOS
  600.     and any other manufacturer's equipment(like DEC)? 
  601.  
  602.     SunOS has the old BSD 4.2 version of talk. The old talk
  603.     uses "machine dependent" byte ordering. Since
  604.     DEC has different byte order the two talks can not
  605.     communicate(even if you use "otalk" on the DEC
  606.     machines).
  607.     
  608.     Also, most vendors have the newer version of 
  609.     talk from BSD-4.3 and this version is not compatible
  610.     with the Sun Version(which is BSD-4.2).
  611.  
  612.     The solution is to get and install the new version
  613.     of talk because it uses "network" byte ordering and
  614.     it is compatible with most Vendors current talk 
  615.     implementations.
  616.     
  617.     "New Talk" is available via anonymous ftp from several
  618.     sites including thor.ece.uc.edu. Get the file 
  619.     /pub/sun-faq/Source/ntalk.tar.Z.   Solaris2.x users will need
  620.     to compile this in Berkeley compatibility mode.
  621.     
  622.     Finally, a program called Ytalk can be used with either
  623.     "New talk" or "Old talk" and compiles on all versions
  624.     of SunOS(Greater than 4.x including 5.x).
  625.     Ytalk can be obtained from thor.ece.uc.edu. Get the file
  626.         /pub/sun-faq/Source/ytalk-3.0.x.tar.gz
  627.  
  628. 11)    How do I setup "anonymous" ftp?
  629.     
  630.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  631.         the procedure differs from vanilla BSD and most examples in 
  632.         system administration books. 
  633.  
  634.     The "ls" binary is dynamically linked, requiring you to 
  635.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  636.     The permissions and ownership of the files within the 
  637.         ftp area are critical to having a secure configuration.
  638.     
  639.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  640.           to copy /usr/lib/libdl.so.* to the ftp area as well.
  641.  
  642.     You can use a "statically" linked binary from the GNU
  643.     fileutils instead of the "dynamically" linked SunOS
  644.     version. You can get the GNU fileutils from prep.ai.mit.edu
  645.     in the directory /pub/gnu
  646.  
  647.     There is also a statically linked version of ls for Suns
  648.     running SunOS 4.1.x, available via anonymous ftp from
  649.     thor.ece.uc.edu.  Get the file /pub/sun-faq/ls.statically-linked
  650.     or get it from the SunOS install CD in the "tools" directory.
  651.  
  652.     A complete procedure to setup anonymous under SunOS is
  653.     available via anonymous ftp to thor.ece.uc.edu. Get
  654.     the file /pub/sun-faq/anon-ftp.how-to.
  655.  
  656.     There is an _excellent_ script written by Peter N. Lewis
  657.     (peter.lewis@info.curtin.edu.au) for setting up anonymous ftp
  658.     located on thor.ece.uc.edu, in the file /pub/sun-faq/anon-ftp.scrpt
  659.  
  660. 12)     How come yppasswdd does not automatically update the yp maps?
  661.  
  662.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  663.         the command line arguments.  A work-around is to add the
  664.         "-nosingle" flag (which is the default), this shifts the
  665.         arguments over one, so "passwd" is read instead of "-m".
  666.     Also, you should use the complete path to rpc.yppasswdd
  667.  
  668.         For example:
  669.  
  670.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  671.  
  672.     Note: Only use the DIR=/var/yp if your source files for passwd, group,
  673.           etc are in /var/yp. If they are in /etc you do not need
  674.               to specify DIR=
  675.             
  676.         If you are running the C2 security package, you should apply
  677.         the C2 Jumbo patch, as it fixes several problems with rpc.yppasswdd
  678.     and rpc.pwdauthd. The patch number is
  679.  
  680.     100201-04 for SunOS 4.1 and 4.1.1
  681.     100564-06 for SunOS 4.1.2 and 4.1.3
  682.  
  683. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  684.  
  685.         You are probably running a pre-4.0 version of NFS and your
  686.         username is in more than 8 groups.  There is a limit on the
  687.         number of groups that could be represented in the rpc service
  688.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  689.         Since many vendors other than Sun are still running old versions
  690.         of NFS, you might see this error even if your SunOS is recent.
  691.  
  692.         Authentication errors are also caused by having secure RPC
  693.         enabled on the client but not on the server, or by having a
  694.         misconfigured secure RPC configuration for the user name
  695.         generating the errors.  Beware of this problem when you are
  696.         using the automounter, as programs (such as Sendmail) may
  697.         silently fail when when they try to mount a directory
  698.         and get this error.
  699.  
  700.  
  701. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  702.  
  703.     This the now infamous Quantum drive "stickation" problem.
  704.  
  705.     If the drive is allowed to cool down(even for a short period 
  706.     of time) the drive lubricant will congeal and prevent the disks
  707.     platters from rotating. 
  708.  
  709.     Before you get a replacement, try lightly tapping
  710.         the drive to loosen the lubricant. If this does not work try
  711.     shaking and twisting the drive at the same time. One last
  712.     thing to try is to lift the system up a couple of inches
  713.     and drop it.
  714.  
  715. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  716.         model?
  717.  
  718.     The newer disk drives can be used without worrying about heat
  719.     or power supply capacity problems. 
  720.  
  721.     However, older technology drives drives create more heat and draw
  722.     more power than the 105S.  The case cooling ability and power supply
  723.         in the SS-1 and SS-1+ are not adequate for the 210 megabyte or higher
  724.         capacity drives possible in the SS-2.
  725.  
  726.     As long as you make sure that the drive draws no more power
  727.     than the 105-Meg drive you should have no problems.
  728.  
  729.     Only the SPARCstation 1 and 1+ have these limitations.
  730.  
  731. 16)     How can I turn my Sun3 into an X-Terminal?
  732.  
  733.         You can use Seth Robertson's Xkernel package.  It is available
  734.         via anonymous ftp from ftp.ctr.columbia.edu (128.59.64.40) in
  735.         /Xkernel.  The package describes how to configure a minimal kernel
  736.         that runs the X server and offloads all the clients onto another,
  737.         hopefully more powerful host on the network. 
  738.  
  739.     As of this writing the current version of Xkernel is 2.0 and
  740.     it should work on both SPARC and Sun3 platforms.
  741.  
  742.     Xkernel is attractive to some sites that have a large investment in 
  743.         sun3 platforms, as moving  most of the processing off the sun3 
  744.         cpu makes it tolerable to use.  
  745.  
  746.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  747.         you get a 19" monitor with an optical mouse.  
  748.  
  749.  
  750. 17)    Why is my console login prompt garbled or in some strange
  751.     alphabet after upgrading to 4.1.3?
  752.  
  753.         The problem is /etc/ttytab, with 4.1.3, the console is now
  754.     able to display 8 bits characters and getty must take this 
  755.     into account.
  756.  
  757.     The solution is easy, replace your console entry in /etc/ttytab 
  758.     by the following, the important part is 'cons8':
  759.  
  760.     console "/usr/etc/getty cons8"  sun             on local secure
  761.  
  762.     Also, if you did an upgrade(instead of a full install) you may 
  763.     need to add the following to your /etc/gettytab.
  764.  
  765.     # This is a new entry to internationalize the console.  It needs to be
  766.     # 8 bit clean so that ISO 8859 characters can be displayed without
  767.     # the window system.
  768.     #
  769.     cons8:\
  770.             :p8:lm=\r\n%h login\72 :sp#9600:
  771.  
  772.  
  773. 18)      Why are the "random" missing services at boot time or any other time
  774.     (even though the services are in the /etc/services file or NIS map)?
  775.  
  776.     The three primary causes for "random" missing services are
  777.     as follows:
  778.  
  779.         A) "Blank" lines in /etc/services on the YP/NIS Master.
  780.            Delete the blank line and remake the services map.
  781.  
  782.         B) Check the permissions on /etc/services. Non-root
  783.            processes need read permissions so /etc/services
  784.            should be mode 644.
  785.  
  786.         C) NIS/YP server not responding quickly enough
  787.            to the "getservbyname" call because each getservbyname
  788.            call reads the whole map.  One fix is to replace the 
  789.            systems version of inetd with a version that re-tries the
  790.            "unknown" service.
  791.  
  792.            I have "hacked" a version of munetd(public domain
  793.            replacement for inetd) to do this. It is available
  794.            from thor.ece.uc.edu. Get the file 
  795.             /pub/sun-faq/Source/munetd.tar.Z
  796.  
  797.            Another solution to this problem is outlined in part C below.
  798.  
  799.         D) Sun's implementation of the services map is incorrect. To
  800.                correct this problem you will need to replace some library
  801.            routines in libc and rebuild the shared library.
  802.            These routines and directions on installing them are
  803.            available from thor.ece.uc.edu.  Get the file 
  804.            /pub/sun-faq/Source/getservent.tar.Z.
  805.  
  806.         E) Another fix(if you do not want to modify your libc's) is
  807.            to just remove the services map from NIS. However,
  808.            you will need to update the services file by hand on
  809.            all clients. We are running all NIS hosts this way and
  810.                it seems to work quite well.
  811.  
  812.         
  813.  
  814. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  815.     reasonable price)?
  816.  
  817.     Here is an incomplete list of vendors how have "data certified"
  818.     tapes for the exabyte.
  819.  
  820.     Misco               800-876-1726   $12 - 15 each.    
  821.     TecBridge          800-972-7405   $12 - 15 each.
  822.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  823.     K and K Systems          612-475-1527     $10 Each
  824.     SCR              314-739-0808     $10.95 for Memorex
  825.  
  826. 20)    What is "archie"?
  827.  
  828.     Archie is a database of what is on several thousand anonymous 
  829.     ftp sites. 
  830.  
  831.     To use archie get one of the three archie clients which
  832.     are as follows:
  833.  
  834.         xarchie        -    For use under X11
  835.         c-archie    -     Curses version of Archie
  836.         archie        -     Perl Version of Archie
  837.     
  838.     Theses are available from archie.ans.net in the directory 
  839.     /pub/archie.
  840.  
  841.     List of other publicly available archie servers:
  842.  
  843.     archie.rutgers.edu   128.6.18.15     (Rutgers University)
  844.     archie.unl.edu       129.93.1.14     (University of Nebraska 
  845.                                           in Lincoln)
  846.     archie.sura.net      128.167.254.179 (SURAnet archie server)
  847.     archie.ans.net       147.225.1.2     (ANS archie server)
  848.     archie.au            139.130.4.6     (Australian server)
  849.     archie.funet.fi      128.214.6.100   (European server in Finland)
  850.     archie.doc.ic.ac.uk  146.169.11.3    (UK/England server)
  851.     archie.cs.huji.ac.il 132.65.6.15     (Israel server)
  852.     archie.wide.ad.jp    133.4.3.6       (Japanese server)
  853.     archie.th-darmstadt.de 130.83.128.111 (German server)
  854.  
  855.     
  856. 21)    How do I synchronize time on my Network?
  857.  
  858.     You should use xntp version 3 to synchronize your time. Xntp 
  859.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  860.     xntp time should always be within a few "milliseconds" of the
  861.     actual time. Xntp does not require a "atomic" clock, any
  862.     stable UNIX host clock will do.
  863.  
  864.     xntp is available from louie.udel.edu. 
  865.     Get the file /pub/ntp/xntp3?.tar.Z where ? is replaced by the
  866.     latest version letter.
  867.  
  868.     You will need clock.txt available from the same place.
  869.  
  870.     xntp works with all versions of SunOS(4.x and 5.x).
  871.  
  872.     Note: There is a Mac Control version of XNTP now available.
  873.  
  874. 22)    What is the phone number for Sun Express and other numbers of importance
  875.     to Sun Users? 
  876.  
  877.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  878.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  879.  
  880.     Auspex Systems Inc. :   2952 Bunker Hill Lane
  881.                             Santa Clara, CA 95054
  882.                             (800) 735-3177 or (408) 492-0900
  883.                                 Fax: (408) 492-0909
  884.     
  885.  
  886. 23)     How do I join sun related  mailing lists?
  887.  
  888.     Mailing Lists:
  889.  
  890.     Sun Managers:    Used for "emergency" information only. The
  891.             users of this list are "very" knowledgeable.
  892.         sun-managers-request@eecs.nwu.edu    add requests
  893.         sun-managers@eecs.nwu.edu        submissions
  894.  
  895.         Sun-386i:   discussion about the Sun 386i product
  896.             sun-386i-request@ssg.com        add requests
  897.             sun-386i@ssg.com                    submissions
  898.  
  899.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  900.                         systems at home
  901.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  902.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  903.  
  904.         Auspex:  managers of Auspex NFS file servers
  905.             auspex-request@princeton.edu                    add requests
  906.             auspex@princeton.edu                            submissions
  907.  
  908.         Epoch:  managers of Epoch NFS file servers       
  909.             EPoch Users Forum  (EPUF)             
  910.             epuf-request@mcs.anl.gov                        add requests 
  911.             epuf@mcs.anl.gov                                submissions
  912.  
  913.     Various SunFlash Mailing Lists:
  914.  
  915.     SunFlash: 
  916.           Articles about Sun from Sun. Includes Press Releases,
  917.           detailed intros, Sun e-newsletters, sunergy announcements
  918.           
  919.           John J. McLaughlin Editor/Publisher (flash@sun.com)
  920.           
  921.           Available in a variety of formats:
  922.           List name      Description
  923.            
  924.           sunflash      daily sunflash. Many articles will have just
  925.                     summaries for the articles posted.
  926.                     use the autoresponder to get the full text
  927.           sunflash-f      full list - all articles - no summaries
  928.           sunflash-w      weekly list - one summary article per week
  929.           sunflash-m      monthly list - one summary article per week
  930.           mt-sunflash      summary article in the message body, and
  931.                     all articles included as MailTool style
  932.                     attachemensts
  933.           mime-sunflash   like mt-sunflash, but with MIME attachements
  934.           mt-sunflash-w   like mt-sunflash but once per week
  935.           mime-sunflash-w like mime-sunflash but once per week
  936.           
  937.           Subscribe by sending email to majordomo@flashback.com
  938.           The message body should contain the word subscribe
  939.           followed by one of above lists names. E.g.
  940.               subscribe mt-sunflash
  941.           
  942.           
  943.     The Sun FlashBack:
  944.           Articles of interest to the Sun community from
  945.           vendors other than Sun. Includes Press Releases,
  946.           Sun User Group announcements, Product announcements,
  947.           Company newsletters, newsletter table of contents
  948.           (e.g. "HPCwire", "WEBster', "SPARCFlash"), 
  949.           trade magazine table of contents (e.g. "Advanced Systems",
  950.           "Open Computing", "Sun Onserver"), Conference/Seminar/
  951.           Trade-Show announcements, Text Book announcements,
  952.           Sponsored technical articles.
  953.           
  954.           John J. McLaughlin Editor/Publisher (flash@flashback.com)
  955.           
  956.           Available in a variety of formats:
  957.           List name      Description
  958.            
  959.           flashback      daily flashback. Many articles will have just
  960.                     summaries for the articles posted.
  961.                     use the autoresponder to get the full text
  962.           flashback-f      full list - all articles - no summaries
  963.           flashback-w     weekly list - one summary article per week
  964.           flashback-m     monthly list - one summary article per week
  965.           mt-flashback      summary article in the message body, and
  966.                     all articles included as MailTool style
  967.                     attachemensts
  968.           mime-flashback   like mt-flashback, but with MIME attachements
  969.           mt-flashback-w   like mt-flashback but once per week
  970.           mime-flashback-w like mime-flashback but once per week
  971.           
  972.           Subscribe by sending email to majordomo@flashback.com
  973.           The message body should contain the word subscribe
  974.           followed by one of above lists names. E.g.
  975.               subscribe mt-flashback
  976.           
  977.           Send for intro (article 9001), help, index or fullindex
  978.           to flashback@flashback.com.
  979.           ftp archives on draco.nova.edu pub/sunflash
  980.           WWW files on draco.nova.edu pub/sunflash/www
  981.           URL ftp://draco.nova.edu/pub/sunflash/www/index.html
  982.  
  983.  
  984.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  985.              send mail to the REQUEST address!  Do not send add requests 
  986.          to the main address!
  987.  
  988.     Last Updated:  January 25, 1995.
  989.  
  990. 24)    How do I use Mac floppies in a SUN drive?
  991.     
  992.     You can not use "real" Mac floppies without buying either
  993.     one of the emulator packages like Liken from Andataco(?) or
  994.     Mae from Apple (only runs on Solaris2.3 or above). They
  995.     is another product or two that just allows you to mount
  996.     Macintosh floppies onto your Sun but the vendors
  997.     and product names escape me now.
  998.  
  999.     That said if all you want to do is exchange files
  1000.     the easiest way is to use suntar on the Macintosh to
  1001.     copy files to a "high density" floppy.  Then you can use 
  1002.     "tar" or "bar" on the Sun to get the files off this floppy.
  1003.     It is available from thor.ece.uc.edu(129.137.8.118)
  1004.     as /pub/sun-faq/Source/suntar-203.hqx or visit
  1005.     the Info Mac archives at wuarchive.wustl.edu.
  1006.  
  1007.     or
  1008.  
  1009.     You could use the Apple File Exchanger to translate
  1010.     the files to MS-DOS format. Then use one of the many 
  1011.     methods for transferring MS-DOS disks to Sun. System 7.5 now
  1012.     mounts dos floppies automatically no need for Apple File
  1013.     Exchanger.
  1014.  
  1015.     These methods should only be used with files like ascii files,
  1016.     wordprocessor files, and  spreadsheet data files. Mac
  1017.     application programs should not be transfered.
  1018.     
  1019.     Finally, low density Mac floppies are not compatable
  1020.     with Sun floppy drives. 
  1021.     
  1022.     Last Updated:  January 27, 1995.
  1023.  
  1024.  
  1025. 25)    How can I transfer floppies back and forth between MS-DOS and Sparc?
  1026.  
  1027.     For Solaris2.2 and above you can use the Volume Manager to
  1028.     control your disks and CD-ROM's. Under SunOS 4.0 there are two 
  1029.     packages which allow you to do mount floppies (mtools and mntdisk).
  1030.     Both of these packages use the 3-1/2inch floppy drive available
  1031.         on most SPARCstations.  Mntdisk can be used to manage CD-ROMS
  1032.     and other removable media types as well.
  1033.  
  1034.     With the advent of the Volume manager in Solaris2.2 these programs
  1035.     have been rendered somewhat obsolete. Under Solaris2.x use
  1036.     volcheck -v to check in a floppy. Than you can use normal UNIX
  1037.     commands on this floppy like cd, mkdir, cp, mv, and ls. It usually 
  1038.     gets mounted on /vol/floppy0
  1039.  
  1040.     Mtools writes directly to the floppy device and it does not
  1041.     require any special privileges. It is faster than mntdisk
  1042.     but it requires the user to learn a new set of commands.
  1043.     A copy of mtools can be found at 
  1044.  
  1045.         thor.ece.uc.edu:/pub/sun-faq/Source/mtools-2.0.7.tar.Z
  1046.  
  1047.     With the proper changes to the source code mtools can even
  1048.     be made to work with the Solaris2.x Volume Manager. All 
  1049.     you need to do is make mtools look in /vol/dev/diskette/...
  1050.     for the floppy devices. 
  1051.  
  1052.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  1053.     mounted you can use regular UNIX commands(cp,mv,and rm)
  1054.     to access it. The pcfs filesystem is quite slow compared
  1055.     to using mtools above.  Mntdisk is available in your local 
  1056.     comp.sources.misc archive, Volume 22, Issues 31-33. 
  1057.     Mntdsk can be used to mount CD-ROMS and even UFS floppies.
  1058.  
  1059.     You should never use "setuid" shell scripts for mounting floppies.
  1060.     Also, C programs that use the system() function call should
  1061.     not be used either. Both can open up huge security holes
  1062.     which hackers can be used to break into your system.
  1063.  
  1064.     
  1065.     Last Updated:  January 27, 1995.
  1066.  
  1067.  
  1068. 26)    Why is my biff not "biffing" when using biff in a networked
  1069.     environment?
  1070.  
  1071.     In its current form comsat/biff are only usable on the mail
  1072.     server. You need to replace them network capable programs.
  1073.  
  1074.     A shar file containing network capable versions of comsat
  1075.     and biff is available from thor.ece.uc.edu. Get the
  1076.     file /pub/sun-faq/Source/biff-comsat.
  1077.  
  1078. 27)    How do I disable L1-A(STOP-A) or re-map it?
  1079.  
  1080.     You need to get one of the many re-mapping programs. Two
  1081.     of these are available from thor.ece.uc.edu. Get the file
  1082.     disable-L1-A.tar.Z
  1083.  
  1084.     Always password protect your NVRAM. Set the security 
  1085.     to command otherwise anyone can set this password
  1086.     to anything they want. Of course you can get it back
  1087.     as root by doing a strings /dev/eeprom and it should
  1088.     show up in plain text. This assumes you have root
  1089.     access.
  1090.  
  1091. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  1092.  
  1093.     There is a known problem with sendmail and frozen config
  1094.     files under 4.1.2.
  1095.  
  1096.     The fix is to remove /etc/sendmail.fc. Also, You could 
  1097.     try moving it to the end of /etc/rc.local.
  1098.     
  1099.     However, the best "fix" may be to install the new Berkeley 
  1100.     Sendmail it has a number of enhancements, performance
  1101.     improvements, and security enhancements.
  1102.     
  1103.     You can get Berkeley sendmail from ftp.cs.berkeley.edu(128.32.149.78).
  1104.     Get the following files: /ucb/sendmail/*8*6*9*
  1105.                  /ucb/4bsd/db.tar.Z
  1106.     Also, you will need bind 4.9 and it can be found on
  1107.     gatekeeper.dec.com(16.1.0.2) in the /pub/BSD/bind/4.9
  1108.     directory.
  1109.  
  1110.     Finally, if you do not want to build the Berkeley sendmail for
  1111.     yourself I will be willing to mail you a copy.
  1112.  
  1113. 29)    What are the dump parameters for an exabyte 8200 or 8500?
  1114.  
  1115.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000    filesystem
  1116.     8500 -- dump 0budfs 126 54000 /dev/rst0 13000   filesystem
  1117.                           
  1118.     Note: Under 4.1.2 and above you should use rst8. Previous
  1119.           versions did not do anything special for the 8500.
  1120.  
  1121.     Note: These parameters are not needed for 5.1.x because
  1122.           it computes these values from the type of Tape Drive
  1123.           you are using. Also, 5.1.x knows about end of tape
  1124.           and does the right thing when it reaches it.
  1125.  
  1126. 30)    What are the guidelines for setting up swap space ?
  1127.  
  1128.     In SunOS 4.x the amount of swap space and Virutal memory 
  1129.     are one in the same so you need at least as much swap
  1130.     as real memory.
  1131.  
  1132.     In SunOS 5.x the amount of Virutal memory is equal
  1133.     swap space plus real memory. Under SunOS 5.x you
  1134.     can actually get away with having no swap space at
  1135.     all. We are running a SPARCserver 1000 with no swap
  1136.     and 192-Meg of real memory.
  1137.  
  1138.     The old rule of thumb is 1.5 to 2 times real memory. This
  1139.     can lead to wasted disk space(by having too much swap
  1140.     space) or to not having enough. What you need to do
  1141.     is to estimate your swap space needs.
  1142.  
  1143.     Note: This question is still being worked on.
  1144.  
  1145.  
  1146. 31)    What are the general guidelines for maxusers to be set to on machine X?
  1147.  
  1148.     This question is being written.
  1149.  
  1150. 32)    What does "zsN: silo overflow" mean?
  1151.  
  1152.         The CPU serial ports - both ordinary serial ports A and B, and
  1153.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  1154.         chip.  That chip has a 3-character on-board buffer called the
  1155.         "silo".  If a character arrives in the silo, the chip interrupts
  1156.         the CPU at a high priority, and the interrupt service routine
  1157.         reads the character out of the silo.
  1158.  
  1159.         If the interrupt isn't serviced in time, more than 3 characters
  1160.         can be placed in the silo by the chip; if so, the chip notes
  1161.         that the silo "overflowed", and the interrupt service routine,
  1162.         when called, will note that a "silo overflow" occurred.
  1163.  
  1164.         If the machine is printing a message from the kernel, interrupts
  1165.         from the chip will be held off; if the message takes long enough
  1166.         to print, and characters are coming in quickly enough on the
  1167.         serial port, more than 3 can arrive, and a "silo overflow" will
  1168.         occur.
  1169.  
  1170.         It is possible that a machine that's sufficiently busy in other
  1171.         code that runs with interrupts held off could get a silo
  1172.         overflow as well.
  1173.  
  1174. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  1175.     signify?
  1176.  
  1177.         The name "zsN" is ambiguous.
  1178.  
  1179.         In kernel "config" files, and in the boot-time autoconfig
  1180.         messages, "zs0" is the first on-board Z8530 chip, the two
  1181.         channels of which handle "ttya" and "ttyb", respectively, and
  1182.         "zs1" is the second on-board Z8530 chip, the two channels of
  1183.         which handle the keyboard and mouse ports, respectively.
  1184.  
  1185.         In "zsN: silo overflow" messages and the like:
  1186.  
  1187.                 "zs0" is the A channel on the first on-board Z8530, handling
  1188.                     "ttya";
  1189.  
  1190.                 "zs1" is the B channel on the first on-board Z8530, handling
  1191.                     "ttyb";
  1192.  
  1193.                 "zs2" is the A channel on the second on-board Z8530, handling
  1194.                     the keyboard;
  1195.  
  1196.                 "zs3" is the B channel on the second on-board Z8530, handling
  1197.                     the mouse.
  1198.  
  1199.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  1200.         overflow" error is for "ttyb", not for the keyboard or mouse.
  1201.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  1202.         overflows are "zs3: silo overflow".
  1203.  
  1204.  
  1205. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  1206.  
  1207.         You need to read Chapter 11 in  the "Systems and Network 
  1208.     Administration" manual.
  1209.  
  1210.  
  1211. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  1212.     connection to some non-Sun machine; it won't log in.  What's wrong?
  1213.  
  1214.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  1215.         into another machine.  If the other machine is running in 8
  1216.         bits, no parity, mode, the fact that the 8th bit is set on some
  1217.         of the characters the Sun is sending to it will confuse it.
  1218.  
  1219.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  1220.         the appropriate place in the appropriate UUCP configuration file
  1221.         [I may have been the one to put P_ZERO there, but I forget the
  1222.         details; it's in the send-expect sequence in the Systems file
  1223.         entry for the machine, and I think you have an "expect" string
  1224.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  1225.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  1226.         "Systems and Network Administration" document to make sure.]
  1227.  
  1228.  
  1229. 36)    Do the Sun serial ports support RTS/CTS flow control?
  1230.  
  1231.         The serial port hardware can do CTS-based control of the flow of
  1232.         data *from* the Sun *out* the serial port automatically.  The
  1233.         tty driver option for that is the CRTSCTS option; it can be
  1234.         specified in:
  1235.  
  1236.                 the "printcap" "ms" capability for a printer;
  1237.  
  1238.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  1239.                 for a dial-in port;
  1240.  
  1241.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  1242.                 [check the UUCP documentation for details];
  1243.  
  1244.         and can be specified with the "hf" capability in "/etc/remote"
  1245.         for "tip".
  1246.  
  1247.         The hardware cannot directly do RTS-based control of the flow of
  1248.         data *into* the Sun, and the software does not currently support
  1249.         controlling the flow of data into the Sun with RTS.
  1250.  
  1251.         NOTE: the EEPROM options in newer Suns do not affect the flow
  1252.  
  1253.         control performed by the OS; in fact, the OS ignores the
  1254.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  1255.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  1256.         set them to change the way the OS handles the tty, and even if
  1257.         you do set them, it won't change the way the OS handles the tty.
  1258.  
  1259.     Sun has released a new jumbo tty patch 100513-04 for SunOS 4.1.2 
  1260.     and 4.1.3 that incorporates changes to the tty driver to
  1261.     support RTS/CTS handshaking. Anyone trying to get RTS/CTS
  1262.     handshaking to work should get this patch.
  1263.  
  1264.  
  1265. 37)    How do I specify that a serial port should, or should not, ignore the
  1266.     state of the Carrier Detect line?
  1267.  
  1268.         Prior to SunOS 4.1, you do so either by:
  1269.  
  1270.                 changing the "flags" field for the serial port device in the
  1271.                 kernel "config" file, re-running "config", rebuilding
  1272.                 the kernel, and rebooting with the new kernel;
  1273.  
  1274.         or, on the Sun-4c machines:
  1275.  
  1276.                 changing the setting of the "ttya-ignore-cd" or
  1277.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  1278.                 the CPU serial ports.
  1279.  
  1280.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  1281.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  1282.         port in question to have the "local" attribute if CD is to be
  1283.         ignored, or not to have it if CD is not to be ignored, and
  1284.         running the "ttysoftcar" command to tell the kernel that the
  1285.         status of the "ignore CD" flag should be changed.
  1286.  
  1287.         In 4.1, there's no need to change the EEPROM setting to change
  1288.         SunOS's behavior; it may affect the PROM's behavior, but that's
  1289.         the only reason why it'd be necessary.
  1290.  
  1291. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  1292.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  1293.  
  1294.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  1295.         "vi", because that version of "vi" supports 8-bit character
  1296.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  1297.         have to change the "terminfo" entry for the terminal.
  1298.  
  1299.         You may first have to convert the compiled "terminfo" entry to a
  1300.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  1301.         the text of the "terminfo" entry for the terminal
  1302.         <terminal-type> to its standard output.
  1303.  
  1304.         If you already have a "termcap" entry, you can convert it to a
  1305.         "terminfo" entry with "/usr/5bin/captoinfo".
  1306.  
  1307.         A text "terminfo" entry must be recompiled in order for programs
  1308.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  1309.  
  1310. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  1311.     Control, and Esc keys inconvenient.  How do I remedy this?
  1312.  
  1313.         Well, one remedy may be to buy the "UNIX layout" version of the
  1314.         Type 5; this option seems, unfortunately, to be little-known to
  1315.         Sun customers, and Sun may not be promoting it as they should.
  1316.         That keyboard has a layout much more friendly to the traditional
  1317.         UNIX user than do the normal PC-style layouts for the Type 5.
  1318.  
  1319.         If you don't have that option, you can use the appropriate
  1320.         program to reprogram the keys; see the next question.
  1321.  
  1322. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  1323.     Caps Lock and Control keys on a Type 5 keyboard?
  1324.  
  1325.         It depends on which window system you're running, if any.
  1326.  
  1327.         If you're not using any window system, or you're using a window
  1328.         system such as SunView that uses the OS's keyboard event
  1329.         translation mechanism, you can dump the tables used by the OS's
  1330.         keyboard event translation mechanism with the "dumpkeys"
  1331.         command, and load changes to that table with the "loadkeys"
  1332.         command; see LOADKEYS(1).
  1333.  
  1334.         If you're using X11 - either in its MIT incarnation, or Sun's
  1335.         Open Windows incarnation - or some other window system that
  1336.         shuts off the OS's keyboard event translation mechanism, you
  1337.         need to use the window system's commands, if any, for that
  1338.         function.
  1339.  
  1340.         In X11, the command for that is "xmodmap"; its translation
  1341.         tables can be printed with "xmodmap -pk", and changes to that
  1342.         table can be loaded with "xmodmap" as well.
  1343.  
  1344.         NOTE: in the particular case of the Control and Caps Lock keys,
  1345.         while MIT X appears to handle interchanging those two keys
  1346.         correctly, so that the new Caps Lock key is a toggle and the new
  1347.         Control key is not, some versions of Open Windows do not - even
  1348.         though the keys have had their mappings exchanged, the window
  1349.         system server still thinks that the *old* Caps Lock key, which
  1350.         is now the Control key, should be a toggle, and that the *old*
  1351.         Control key, which is now the Caps Lock key, should not be a
  1352.         toggle.
  1353.     [Here is a work-around for this problem, provided by Mark Plotnick
  1354.     (mp@allegra.att.COM)]:
  1355.     Copy the appropriate keytable (e.g. /usr/openwin/etc/keytables/US4.kt)
  1356.     to $HOME/.keytable, and change the 2nd attribute character in a key's
  1357.     attributes field to N or P depending on whether the key should have 
  1358.     "pseudolock".
  1359.     $ diff /usr/openwin/etc/keytables/US4.kt /usr/gre/.keytable
  1360.     78,79c78,79
  1361.     < lock  119                     # CapsLock
  1362.     < control        76                     # Control
  1363.     ---
  1364.     > lock   76                     # CapsLock
  1365.     > control       119                     # Control
  1366.     226c226
  1367.     < 76    NN      XK_Control_L
  1368.     ---
  1369.     > 76    NP      XK_Caps_Lock
  1370.     278c278
  1371.     < 119   NP      XK_Caps_Lock
  1372.     ---
  1373.     > 119   NN      XK_Control_L
  1374.  
  1375.  
  1376. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  1377.  
  1378.         SunOS releases prior to 5.x come with a C compiler. However,
  1379.         it was an old compiler, and it didn't support ANSI C syntax or 
  1380.         ANSI C features.
  1381.  
  1382.     The SunSoft Catalyst CD #5 contains the binaries for the GNU C 
  1383.     compiler for Solaris 1.x and 2.x. You should get the latest
  1384.     version of GCC and compile it using this compiler. 
  1385.  
  1386.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1387.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1388.         full ANSI C environment, i.e. it doesn't necessarily include all
  1389.         the ANSI C include files or library routines); various other
  1390.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1391.  
  1392.         The Free Software Foundation's GCC also supports ANSI C syntax
  1393.         and ANSI C features. It can be FTP'ed in source form from many
  1394.         sites, and in binary form from some sites. 
  1395.  
  1396.     A compiled version of the latest GCC for SunOS 5.x is available from 
  1397.     prep.ai.mit.edu. The directory containing these files is
  1398.  
  1399.         /pub/gnu/sparc-sun-solaris2
  1400.  
  1401.     You need to get the following files:
  1402.         
  1403.         gzip-binaries-1.x.x.tar    
  1404.         INSTALL.gcc
  1405.         gcc-binaries-2.x.x.tar.gz
  1406.  
  1407.     Note: You need the gzip binaries to ungzip the gcc binaries.
  1408.  
  1409.     After obtaining GCC, you will need to run fixincludes. 
  1410.     The INSTALL.gcc file will tell you how.
  1411.  
  1412.     Note: The following sites mirror the GNU software distribution
  1413.           from prep.ai.mit.edu:
  1414.  
  1415.         ASIA:         utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  1416.                     cair.kaist.ac.kr:/pub/gnu
  1417.         AUSTRALIA:     archie.oz.au:/gnu (archie.oz or archie.oz.au for ACSnet)
  1418.         AFRICA:     ftp.sun.ac.za:/pub/gnu
  1419.         MIDDLE-EAST:     ftp.technion.ac.il:/pub/unsupported/gnu
  1420.         EUROPE:     irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu,
  1421.               ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu,
  1422.               src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ugle.unit.no,
  1423.             ftp.denet.dk, ftp.informatik.rwth-aachen.de:/pub/gnu,
  1424.             ftp.informatik.tu-muenchen.de, ftp.eunet.ch, 
  1425.             nic.switch.ch:/mirror/gnu, nic.funet.fi:/pub/gnu,
  1426.             isy.liu.se, ftp.stacken.kth.se,
  1427.             ftp.luth.se:/pub/unix/gnu, archive.eu.net
  1428.            CANADA: ftp.cs.ubc.ca:/mirror2/gnu
  1429.         USA:     wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu,
  1430.           ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu,
  1431.           col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  1432.           gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu
  1433.  
  1434.  
  1435.     You should check the site close to you before ftping to
  1436.     prep.
  1437.  
  1438.  
  1439. 42)    How do I change the time zone setting on my machine?
  1440.  
  1441.         In releases prior to SunOS 4.0, you will have to reconfigure
  1442.         your kernel, recompile it, install the new kernel, and reboot.
  1443.         See the documentation on kernel configuration.
  1444.  
  1445.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1446.         command with the "-l" flag, with the appropriate time zone
  1447.         setting as the argument.  For example, to set the time zone to
  1448.         US Eastern Time, do:
  1449.  
  1450.                 zic -l US/Eastern
  1451.  
  1452.         to set it to the proper setting for Great Britain and Eire, do:
  1453.  
  1454.                 zic -l GB-Eire
  1455.  
  1456.         and so on.
  1457.  
  1458.         You will then probably want to reboot your machine, in order to:
  1459.  
  1460.                 1) cause any daemons started before the time zone was
  1461.                    changed to restart, and pick up the new time zone;
  1462.  
  1463.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1464.                    binaries, old programs not converted to use the new
  1465.                    routines to convert local time to UNIX time, and
  1466.                    Calendar Manager.
  1467.  
  1468.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1469.         to the appropriate time zone file, but there's really no point
  1470.         in doing so when "zic -l" will do that for you.
  1471.  
  1472.         In Solaris 2.x, you do it the same way you do it on any other
  1473.         SVR4 system - you put a line that says
  1474.  
  1475.                 TZ=<time zone name>
  1476.  
  1477.         in "/etc/TIMEZONE", or change the existing line, and reboot.
  1478.         SVR4 includes the "Arthur Olson" time zone code that SunOS 4.x
  1479.         also uses, although not all SVR4 systems supply the time zone
  1480.         files for it; Solaris 2.0 does.
  1481.  
  1482.  
  1483. 43)    I'm getting messages that say one of the following:
  1484.          proc: table is full    and/or
  1485.             file: table is full    and/or
  1486.             dquot: table is full     and/or
  1487.             inode: table is full
  1488.          What do these errors mean, and how do I fix the problem?
  1489.  
  1490.         In SunOS releases prior to 5.0, many tables in the system are
  1491.         allocated once at system startup time, with a fixed size, and do
  1492.         not grow in size.  If the system needs more entries than are
  1493.         present in that table to perform some operation, it can't
  1494.         perform the operation, and it will log a message and return a
  1495.         failure indication.
  1496.  
  1497.         The sizes of the tables in question are based on the "maxusers"
  1498.         value in the configuration file for your kernel; to increase the
  1499.         size of the table, change the configuration file for your kernel
  1500.         to have a larger "maxusers" value, re-run "config" on that file,
  1501.         rebuild the kernel, install the new kernel, and reboot.
  1502.  
  1503.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1504.         that table is dynamically allocated; SunOS 5.0 should
  1505.         dynamically allocate entries in most if not all of those tables.
  1506.  
  1507.        I did that, and I'm still getting that message.  What do I do now?
  1508.  
  1509.         Presumably, then, either:
  1510.  
  1511.                 1) you didn't increase "maxusers" enough
  1512.  
  1513.         or
  1514.  
  1515.                 2) some process is consuming resources from the table in
  1516.                    question without bound.
  1517.  
  1518.  
  1519.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1520.           all available process slots(except for the last 5). 
  1521.  
  1522.           If you are running out of process slots you may want to 
  1523.           change the kernel parameter that controls the maximum number
  1524.           of per user processes. You can change this in the param.c
  1525.           in /sys/conf.common. You will need to change the following
  1526.           define:
  1527.  
  1528.             #define MAXUPRC (NPROC - 5)
  1529.  
  1530.           to something more reasonable like
  1531.  
  1532.             #define MAXUPRC (NPROC - 5)/2
  1533.  
  1534.           After making this change you should re-config and re-build
  1535.           your kernel.
  1536.  
  1537.         The "proc" table has one entry for every process on the system;
  1538.         if it's overflowing, some process on the system may be creating
  1539.         new processes over and over again.  If you can, do a "ps -ax" to
  1540.         see what processes are on the system, and see if that gives any
  1541.         clues as to what process, if any, is spawning those other
  1542.         processes.
  1543.         
  1544.  
  1545.         The "file" table has one entry for every "active file
  1546.         descriptor" on the system; each time an "open", "dup", "socket",
  1547.         etc. call is made, a new "active file descriptor" is required.
  1548.         There's no way of finding out what process or processes are
  1549.         consuming file descriptors that's as convenient as "ps" can be
  1550.         for finding out what process or processes are spawning additional
  1551.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1552.         of "active file descriptors", but it's tricky for the novice
  1553.         user, programmer, or administrator to interpret the output of
  1554.         "pstat -f", and that output doesn't indicate which processes are
  1555.         using a given "active file descriptor".
  1556.  
  1557.  
  1558. 44)     Blank at present.
  1559.  
  1560. 45)     How do I run both OpenWindows and MIT X11R5?
  1561.  
  1562.     Note: OW2 is compatible with X11R3+, OW3 is compatible with X11R4.
  1563.  
  1564.     To get X11R5(or R4) applications to run under Openwindows you will
  1565.     need to set the appropriate LD_LIBRARY_PATH. 
  1566.  
  1567.         Assuming you installed the MIT libraries in
  1568.         /usr/lib and the OpenWindows libraries are in
  1569.         /usr/openwin/lib, set the following before you start the
  1570.         windowing system:
  1571.  
  1572.         MIT X11R4 environment
  1573.  
  1574.                 set path = (/usr/bin/X11 $path)
  1575.                 setenv LD_LIBRARY_PATH /usr/lib
  1576.  
  1577.        OpenWindows
  1578.  
  1579.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1580.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1581.  
  1582.         You can also run clients from one environment under a different
  1583.         server on a one command at a time basis.  This example runs a
  1584.  
  1585.          OpenWindows client under the MIT server:
  1586.  
  1587.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1588.  
  1589.  
  1590.     A better way to handle this(in the long run) is to re-compile 
  1591.     the X server clients to include a "hard" coded shared library
  1592.     search path. You will need to link the clients with -L
  1593.     option.  For example, if your X11 libraries are installed
  1594.     in /usr/local/lib/X11 you will link your application by
  1595.  
  1596.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1597.  
  1598.     By doing this to all applications you can eliminate the need
  1599.     to set the LD_LIBRARY_PATH. 
  1600.  
  1601.     For applications that you do not have source for you should
  1602.     write a shell script wrapper similar to the following:
  1603.  
  1604.     #!/bin/sh
  1605.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1606.     /usr/local/bin/X11/xterm.bin $*
  1607.     
  1608.  
  1609.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1610.           available from prep.ai.mit.edu. 
  1611.  
  1612.  
  1613.         The OpenWindows server has the ability to display PostScript that
  1614.         several of the OpenWindows applications require to run.  Sun's
  1615.         AnswerBook is an example that requires PostScript.  These clients
  1616.         will not run under the MIT server.   
  1617.  
  1618.     You can get a limited PostScript preview capability under 
  1619.     either server with GNU Ghostscript, a GNU "copyleft" package
  1620.     available from various ftp sites.  
  1621.  
  1622.     Two enhanced versions of Ghostscript are also available,
  1623.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1624.         These programs are currently available via anonymous ftp:
  1625.  
  1626.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1627.         GSPreview   is on ftp.x.org (18.24.0.12) in /contrib
  1628.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1629.  
  1630.  
  1631. 46)    Where do I find a "restricted" shell for SunOS?
  1632.  
  1633.     /usr/lib/rsh is a "restricted" Bourne shell.
  1634.  
  1635.         This "restricted" shell is easy to break out of; consider
  1636.         that most editors have a shell escape, for example. Building
  1637.         a window-dressing restricted environment is easy; building
  1638.         a real restricted environment is hard.
  1639.  
  1640.  
  1641. 47)    Will SunOS 4.1.x binaries run under SunOS 5.x?
  1642.  
  1643.         Yes they will, with some restrictions. The most significant is
  1644.         that the binary in question must have been "dynamically linked."
  1645.         Otherwise, you will get the message
  1646.  
  1647.         Bad system call (core dumped)
  1648.  
  1649.         immediately when starting the 4.1.x binary on SunOS5.
  1650.  
  1651.     As of SunOS 5.3 "statically" linked binaries will now run
  1652.     in binary compatabilty mode.
  1653.  
  1654.         Finally, bear in mind that there is a performance overhead for
  1655.         this "binary emulation"; each system call happens twice,
  1656.         once to trap into the emulation mode and again to get from
  1657.         there into the UNIX kernel. 
  1658.  
  1659.  
  1660. 48)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1661.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1662.     _get_applicationShellWidgetClass). What is the Problem?
  1663.  
  1664.     There are problems with the Xmu shared library as shipped from Sun.
  1665.  
  1666.     There are two "fixes". One is to get the Openwindows patches
  1667.     that apply to this problem and the other is to "statically" link
  1668.     the Xmu library into the executable.
  1669.  
  1670.     The patches you will need are as follows:
  1671.  
  1672.         Patch i.d.      Bug i.d.'s      O/S     Description
  1673.         ----------      -------------------------------------------------------
  1674.         100512-04       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1675.             1074766         Jumbo patch
  1676.  
  1677.         100573-04       1087332         4.1.x OpenWindows 3.0 undefined
  1678.                         symbols when using shared
  1679.                         libXmu.
  1680.  
  1681.     Note: Always use the latest version of the above patch that you can 
  1682.           find.
  1683.  
  1684.     To "statically" link your executable with libXmu modify the
  1685.     compile line as follows:
  1686.  
  1687.           -Bstatic -lXmu -Bdynamic 
  1688.  
  1689.  
  1690. 49)    What is Solaris?
  1691.     
  1692.     Solaris consists of the following facilities:
  1693.  
  1694.         1) SunOS 
  1695.         2) Openwindows
  1696.         3) Openwindows deskset tools
  1697.         4) ONC networking products and services(which includes NFS
  1698.            and NIS)
  1699.  
  1700.     Solaris is not an operating system but a "complete" user
  1701.     environment.
  1702.  
  1703.     A chart of Solaris versions, and the corresponding SunOS, Open 
  1704.     Windows, and DeskSet versions:
  1705.  
  1706.           Solaris         SunOS           Open Windows    DeskSet
  1707.           1.0             4.1.1           2.0             2.0
  1708.           1.0.1           4.1.2           2.0             2.0
  1709.           1.1             4.1.3           3.0             3.0
  1710.           1.1.1(a)        4.1.3_U1        3.0_U1*         3.0_U1*
  1711.           1.1.1(b)        4.1.3_U1_B      3.0_U1*         3.0_U1*
  1712.  
  1713.           2.0             5.0             3.0.1           3.0.1
  1714.           2.1             5.1             3.1             3.1
  1715.           2.2             5.2             3.2             3.2
  1716.       2.3             5.3             3.3             3.3
  1717.  
  1718.     *when patched with the patches on the 4.1.3_U1 CD.
  1719.  
  1720.  
  1721.  
  1722. 50)     What does the "nres_gethostbyaddr !=" error mean?
  1723.  
  1724.     This message is generating by Sun's resolver libraries and
  1725.     it is caused by incorrectly configured Domain Name 
  1726.     Server(the server that the resolver libraries are querying
  1727.     not necessarily the local Domain Name Server).
  1728.  
  1729.     The Domain Name Server probably lacks a reverse map entry for 
  1730.     that particular host. 
  1731.  
  1732.     Since this "bug" is closely associated with using ypserv,
  1733.     Sun has produced a patch to "ypserv" (bug #1039839). 
  1734.     Sun supplied a patch 100141-01 to quiet it, but the 
  1735.     patched version appears to die silently at random times,
  1736.     so Sun now has a new patch, 100141-02. Do not install this
  1737.     patch unless you are really getting a lot of these messages.
  1738.  
  1739.  
  1740. 51)     How come my mouse only works in the vertical(or horizontal) direction,
  1741.     how do I repair it?
  1742.  
  1743.  
  1744.     Check the rotation of the PAD. Turn it 90 degrees and see if it
  1745.     works any better. The mouse will only work properly
  1746.     if the mouse pad is oriented properly. Make sure that the long 
  1747.     side of the pad along the horizontal and the short side
  1748.     the vertical.
  1749.  
  1750.     Also, check to make sure that you have the right mouse pad. The
  1751.     newer the mouse the smaller the pad. 
  1752.  
  1753.     Finally, if that does not work one of the LEDs on the under
  1754.      side of the mouse has probably "burnt" out.  Do not fooled
  1755.     by the fact that one of them is an infrared led (light that 
  1756.     is invisable to naked eye) and the other visible. 
  1757.  
  1758.     You can probably repair it yourself(if you can get a replacement 
  1759.     LED and you know how to use a Soldering Iron) by following
  1760.     a set of directions available from thor.ece.uc.edu. Get the
  1761.     file /pub/sun-faq/mouse.fix.
  1762.  
  1763.  
  1764. 52)    After rebuilding the shared library libc it get some or all the 
  1765.     following undefined symbols: dlsym, dlopen, dlclose, mbstowcs_xccs,
  1766.             mbtowc_xccs,wcstombs_xccs, or wctomb_xccs.
  1767.  
  1768.  
  1769.     If you have just installed a new shared library under 4.1.2 or
  1770.     greater you need to modify the Makefile for the shared libraries
  1771.     and re-install. You will need to change the following line
  1772.  
  1773.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1774.     to read 
  1775.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1776.  
  1777.     Note: You should change both such lines.
  1778.  
  1779.      Also, you may need to do a mv xccs.multibyte. xccs.multibyte.o
  1780.     to eliminate the  mbstowcs_xccs, mbtowc_xccs, wcstombs_xccs,
  1781.     or wctomb_xccs symbols errors.
  1782.  
  1783.     The above can occur under SunOS 4.1.1 if you have installed 
  1784.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1785.  
  1786.  
  1787. 53)    What does "No network locking on host" mean after upgrading to
  1788.     Solaris 2.0?
  1789.  
  1790.     Your SunOS 4.x(or above) machines are running an old version
  1791.     of rpc.lockd. You need to get and install patch number 
  1792.     100075-11 or greater to correct this problem.
  1793.  
  1794. 54)    Does Password Aging work with NIS(YP) ?
  1795.  
  1796.     Sun does not support password aging under NIS(OS version
  1797.     to 4.1.3). The rpc.yppasswdd needs to modified to make
  1798.     password aging work. 
  1799.  
  1800.     Password aging will only work under SunOS 5.3(Solaris2.3) 
  1801.     with NIS+.
  1802.  
  1803. 55)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1804.  
  1805.     For some reason rpc.lockd can not talk to rpc.statd. 
  1806.  
  1807.     Check to see if rpc.statd is running. If rpc.statd
  1808.     is not running re-start it. If rpc.statd is running, 
  1809.     kill it and restart it. You will need to kill and restart
  1810.     rpc.lockd too. 
  1811.  
  1812.     Use this procedure to restart rpc.lockd and rpc.statd.
  1813.  
  1814.         kill rpc.statd and rpc.lockd
  1815.         start rpc.statd
  1816.         wait a 10 seconds or so
  1817.         start rpc.lockd
  1818.  
  1819.     If this does not work kill rpc.statd and rpc.lockd 
  1820.     remove /etc/sm /etc/sm.bak directories and re-start the
  1821.     daemons using the above procedure..
  1822.  
  1823.  
  1824. 56)    How do I join the Sun User Group(SUG)?
  1825.  
  1826.     Here is the information on joining SUG.
  1827.  
  1828.         Sun User Group, Inc.
  1829.         1330 Beacon Street, Suite 315
  1830.         Brookline, MA 02146
  1831.         USA
  1832.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1833.         office@sug.org 
  1834.  
  1835.     With your membership you get the following:
  1836.         
  1837.         *  Vendor Discounts
  1838.         *  Technical Conferences
  1839.         *  Software Distribution
  1840.         *  README Newsletter
  1841.         *  Annual Exhibits
  1842.         *  Local User Group Support
  1843.         *  Newsgroup comp.org.sug 
  1844.  
  1845.  
  1846. 57)    How do I increase the number of "pseudo" terminals(ptys) ?
  1847.  
  1848.     For SunOS4.1.x:
  1849.  
  1850.     To add more ptys you must install a new kernel. 
  1851.  
  1852.     The default number of "ptys" is  48.  To get more "ptys" 
  1853.     change the kernel config line "pseudo-device pty" to 
  1854.     "pseudo-device pty#" where '#" is the number of "ptys"
  1855.     you want. 
  1856.  
  1857.     Be warned the maximum number you can have is 256.
  1858.  
  1859.     You will need to run /dev/MAKEDEV pty[0-5] to create the
  1860.     /dev/ entries.
  1861.  
  1862.     For SunOS5.x:
  1863.  
  1864.     In /etc/system, add the line:
  1865.  
  1866.             set pt_cnt=nnn     -- nnn can have a value up to 3000.
  1867.     touch /reconfigure
  1868.     and reboot using 'init 6'.
  1869.  
  1870.     For BSD style ptys set npty in /etc/system to the desired 
  1871.     value(ie set npty=64).  You may need to make the ptys by
  1872.     hand and you will need to make likes from /dev to /devices for 
  1873.     these devices.  Finally, you will need to edit /etc/iu.ap to
  1874.     automatically push the appropriate streams compatibility modules
  1875.         onto the new devices. You need to replace the line reading
  1876.             "ptsl 0 15 ldterm ttcompat"
  1877.     with
  1878.             "ptsl 0 <NUM> ldterm ttcompat"
  1879.     where <NUM> was one less than the number of compatibility ptys you
  1880.     need.
  1881.  
  1882.  
  1883. 58)    Where are dump and restore under Solaris 2.x?
  1884.  
  1885.     dump is now called /usr/sbin/ufsdump
  1886.     restore is now called /usr/sbin/ufsrestore
  1887.  
  1888. 59)    How do I make the numeric keypad on a type 5 keyboard work with xterm?
  1889.  
  1890.         You need to patch the /usr/lib/X11/app-defaults/XTerm and
  1891.         $OPENWINHOME/lib/app-defaults/XTerm files as described in sun
  1892.         patch 100713-01 or later.
  1893.  
  1894. 60)    How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard 
  1895.     under Openwindows 3.0?
  1896.  
  1897.         Don't do it with xmodmap, since that won't change the locking
  1898.         behavior of CAPS LOCK. Edit $OPENWINHOME/etc/keytables/US5.kt.
  1899.         There are two places where keys 119 (CapsLock) and 76 (Control)
  1900.         should be swapped: the MODMAP section and the KEYSYMMAP section.
  1901.         The latter is most important, because that's where the
  1902.         "Pseudo-Lock" function (which controls the locking behaviour of
  1903.         the key) is defined.
  1904.  
  1905. 61)    Which Sun models run which versions of SunOS?
  1906.  
  1907.       Sun-supported configurations:
  1908.  
  1909.       Sun2: SunOS 4.0.3 or earlier.
  1910.       Sun386i: SunOS 4.0, 4.0.1, 4.0.2 only.
  1911.       Sun3: SunOS 4.1.1_U1 or earlier.
  1912.       4/100, 4/200 series: SunOS 3.2, SunOS 4.0 or later.
  1913.       4/300 series: SunOS 4.0.3 or later.
  1914.       4/400 series: SunOS 4.1PSR_A or later.
  1915.       600 models 120, 140: SunOS 4.1.2 or later.
  1916.       600 model 41, 51: SunOS 4.1.3 or later.
  1917.       600 models 412, 512: Solaris 2.2 or later.
  1918.       600 model 514: Solaris 2.3 HW 8/94 or later.
  1919.       SPARCstation 1, 1+, SLC, IPC: SunOS 4.0.3 or later.
  1920.       SPARCstation 2, ELC, IPX: SunOS 4.1.1 or later.
  1921.       SPARCstation 10 models 20, 30, 40, 41, 51: SunOS 4.1.3 or later.
  1922.       SPARCstation 10 models 412, 512: Solaris 2.2 or later.
  1923.       SPARCstation 10 model 402: Solaris 2.2 or later.
  1924.       SPARCstation 10 model 514: Solaris 2.3 Hardware 8/94 or later.
  1925.       SPARCstation 20 models 50, 51, 61: SunOS 4.1.3_U1 revision B or later.
  1926.       SPARCstation 20 models 502, 514,612: Solaris 2.3 Hardware 8/94 or later.
  1927.       SPARCclassic, SPARCstation LX: SunOS 4.1.3C or later.
  1928.     SPARCstation Voyager: Solaris 2.3 HW 8/94 or later.
  1929.     SPARCstation 5: Solaris 1.1.1 Rev B or later.
  1930.     SPARCstation 20 model 71: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or
  1931.             later.
  1932.     SPARCstation 20 model HS11: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or
  1933.             later
  1934.     SPARCstation 20 model 712: Solaris 2.3 HW 8/94 or later.
  1935.     SPARCstation 4: Solaris 1.1.2 and Solaris 2.4 HW 11/94 or later
  1936.     SPARCserver 1000 and SPARCcenter 2000 : Solaris 2.2 or later and
  1937.          should really use at least 2.3.
  1938.  
  1939.     Some notes:
  1940.  
  1941.     Sun4 machines (4/1xx, 4/2xx, 4/3xx, and 4/4xx) will not be supported
  1942.     after Solaris2.4.
  1943.  
  1944.     The audio device on the SS5/SS20 has does not work under Solaris 1.1.1b
  1945.     without installing the ms2 patch found on the 1.1.1B CDROM or get
  1946.     the current Audio Patch from Sun. You will need patches to get the
  1947.     Audio to work properly under Solaris2.3 as well.
  1948.  
  1949.     Also, the SX Graphics card is only supported under Solaris2.3 HW 8/94
  1950.     or later. The Card will not run work under SunOS 4.1.x and unless
  1951.     some one other than Sun writes a driver it will never work.
  1952.  
  1953.     If you are running Solaris 1.x and newer versions of the SuperSPARC CPU 
  1954.     (rev 3.5 and higher) require Solaris 1.1.1B.  See question 79 for
  1955.     the procedure used for determining SuperSPARC revision.
  1956.  
  1957.     When installing any compatable version of SunOS 4.1.x on any
  1958.     of the following: SPARCstation 5, LX, Classic, or SPARC 20 you
  1959.     must buy a RTU because these machines came with RTU's for
  1960.     Solaris2.x only.
  1961.  
  1962.       SunOS 4.1.3 has been reported to run on the SPARCstation 10 model
  1963.       412/512 and the 600 model 412/512, but this configuration is not
  1964.       supported by Sun. Anyone who tries this is on their own.  The
  1965.       (unofficial) word from inside Sun about whether or not it actually 
  1966.     works is as follows:
  1967.  
  1968.             Little testing of the SuperSPARC MP configurations under 4.1.3
  1969.             have been done by Sun.  What little was done showed that under
  1970.             heavy loads the system was prone to crash (What it really did 
  1971.         was hang, so badly that even an L1-A would not work).
  1972.             ...
  1973.             We suspect, but do not know, that as the SuperSPARC chips get
  1974.             faster that the problems will manifest themselves more quickly.
  1975.  
  1976.       Solaris 2.0 runs only on SS1,1+,2,SLC,IPC,ELC,IPX.
  1977.  
  1978.       Solaris 2.1 and later runs on all Sun4s and SPARCstations, but the 
  1979.     FPU's on the 4/100 and 4/200 series machines are disabled and will
  1980.     be under all versions of Solaris2.x.
  1981.  
  1982.       Not all peripherals supported under SunOS 4.x are supported under SunOS
  1983.       5.x. Check with Sun or the peripheral manufacturer. Most of the 
  1984.     the non-supported cards under SunOS 5.x are VME or Multi Bus based.
  1985.  
  1986.       Explanatory note:
  1987.  
  1988.       In general, Solaris = SunOS + OpenWindows.
  1989.  
  1990.       Solaris 1.0     = SunOS 4.1.1      + OpenWindows 2.0
  1991.       Solaris 1.0.1     = SunOS 4.1.2      + OpenWindows 2.0
  1992.       Solaris 1.1     = SunOS 4.1.3      + OpenWindows 3.0
  1993.       Solaris 1.1.1    = SunOS 4.1.3_U1 + OpenWindows 3.0_U1
  1994.       Solaris 1.1.2     = SunOS 4.1.4    + OpenWindows 3.414     
  1995.       Solaris 2.0     = SunOS 5.0      + OpenWindows 3.0.1
  1996.       Solaris 2.1     = SunOS 5.1      + OpenWindows 3.1
  1997.       Solaris 2.2     = SunOS 5.2      + OpenWindows 3.2
  1998.       Solaris 2.3     = SunOS 5.3      + OpenWindows 3.3
  1999.       Solaris 2.4     = SunOS 5.4      + OpenWindows 3.4
  2000.  
  2001.     Open Windows versions before 3.3 used the X11/NeWS server
  2002.     all versions since use a MIT style server with Display
  2003.     Postscript Extensions.
  2004.     
  2005.     Last Updated: March  3, 1995.
  2006.  
  2007. 62)    My rdump is failing with a "Protocol botched" message. What do I do?
  2008.  
  2009.         The problem produces output like the following:
  2010.  
  2011.           DUMP: Date of this level 0 dump: Wed Jan  6 08:50:01 1993
  2012.           DUMP: Date of last level 0 dump: the epoch
  2013.           DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host foo
  2014.           DUMP: mapping (Pass I) [regular files]
  2015.           DUMP: mapping (Pass II) [directories]
  2016.           DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
  2017.           DUMP: Protocol to remote tape server botched (in rmtgets).
  2018.          rdump: Lost connection to remote host.
  2019.           DUMP: Bad return code from dump: 1
  2020.  
  2021.         This occurs when something in .cshrc on the remote machine prints
  2022.         something to stdout or stderr (eg. stty, echo). The rdump command
  2023.         doesn't expect this, and chokes. Other commands which use the rsh
  2024.         protocol (eg. rdist, rtar) may also be affected.
  2025.  
  2026.         The way to get around this is to add the following line near the
  2027.         beginning of .cshrc, before any command that might send something
  2028.         to stdout or stderr:
  2029.  
  2030.         if ( ! $?prompt ) exit
  2031.  
  2032.         This causes .cshrc to exit when prompt isn't set, which
  2033.         distinguishes between remote commands (eg. rdump, rsh) where these
  2034.         variables are not set, and interactive sessions (eg. rlogin) where
  2035.         they are.
  2036.  
  2037.  
  2038. 63)     Table of Solaris2.x commands and their Solaris1.x equivalents?
  2039.         
  2040.         SunOS 4.x          SunOS 5.x             
  2041.         Command            Equivalent               
  2042.         
  2043.         add_services       pkgadd                      
  2044.         arch               uname -m                  
  2045.                    Note: This returns the kernel architecture.
  2046.         bar                Not available. Use   
  2047.                            cpio -H bar to retrieve
  2048.                    4.x archives.
  2049.         
  2050.         biff -y            chmod o+x /dev/tty
  2051.         biff -n            chmod o-x /dev/tty
  2052.         cc                 Not available
  2053.         dbxtool            debugger
  2054.         devinfo           prtconf
  2055.         df                 df -k
  2056.         dkctl              Not available
  2057.         dkinfo             prtvtoc
  2058.         du                 du -k
  2059.         dump               /usr/sbin/ufsdump
  2060.         dumpfs             Not available
  2061.         etherfind          snoop
  2062.         exportfs           share
  2063.         extract_files      Not available
  2064.         extract_patch      Not available
  2065.         extract_unbundled  pkgadd
  2066.         fastboot           reboot or init 6
  2067.         fasthalt           init O
  2068.         hostid             sysdef -h
  2069.         hostname           uname -n
  2070.         intr               Not available
  2071.         leave              Use cron and at
  2072.         lint               Not available
  2073.         load                 pkgadd
  2074.         loadc                pkgadd
  2075.         load_package         Not available
  2076.         lpc                  lpadmin
  2077.         lpd                  lpsched
  2078.         lpq                  lpstat
  2079.         lpr                  lp
  2080.         lprm                 cancel
  2081.         lptest               Not available
  2082.         mach                 uname  -p
  2083.         modstat              modinfo
  2084.         mount                mount  -F <fstype> [options]
  2085.         mount -a       mountall
  2086.         mount_tfs            mount  -F <fstype>
  2087.         pax                  cpio
  2088.         paxcpio              cpio
  2089.         portmap              rpcbind
  2090.         printenv             env
  2091.         ps -a                ps -e
  2092.         ps -aux              ps -el
  2093.          Note: when ps is  invoked without the "-f" flag, the SV
  2094.              "ps" prints  only the first N characters of the name 
  2095.              of the program being run. You have to pass the "-f" 
  2096.              flag to get the full command line. For example, try
  2097.              ps -fe.
  2098.  
  2099.         pstat                sar
  2100.         pstat -s             swap -s
  2101.         rdump                /usr/sbin/ufsdump
  2102.         restore              /usr/sbin/ufsrestore
  2103.         rm_client            admintool
  2104.         rm_services          Not available
  2105.         rpc.etherd           Not available
  2106.         rpc.lockd          /usr/lib/nfs/lockd         
  2107.         rpc.mountd         /usr/lib/nfs/mountd        
  2108.         rpc.rexd           /usr/sbin/rpc.rexd
  2109.         rpc.rquotad        /usr/sbin/rpc.rquotad
  2110.         rpc.showfhd        Not available
  2111.         rpc.statd          /usr/lib/nfs/statd         
  2112.         rpc.user_agentd    Not available 
  2113.         rpc.yppasswdd      Not available 
  2114.         rpc.ypupdated      ypupdated     
  2115.         rrestore            /usr/sbin/ufsrestore    
  2116.         rusage             Not available 
  2117.         trace           truss
  2118.         showmount          dfmounts 
  2119.         swapon                swap -a        
  2120.         sys-config       admintool
  2121.         umount -a        umountall         
  2122.         umount_tfs       umount -F <fstype>
  2123.         unload             pkgrm
  2124.         update             fsflush
  2125.         uptime            who -b
  2126.         users              who -q
  2127.         vipw               Not available
  2128.         wall               /usr/sbin/wall
  2129.         whereis            Not available
  2130.         whoami             id
  2131.         ypbatchupd         Not available
  2132.         yppasswd           Use nispasswd for NIS+
  2133.         ypserv             Not available
  2134.  
  2135.     Notes:  A NIS server is no longer available under Solaris2.x
  2136.         without purchasing the NSKIT from Sun.
  2137.         Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs 
  2138.         for useful programs and commands. Finally, some of
  2139.         missing commands are in the BSD Compatibility package.
  2140.  
  2141.     
  2142.     
  2143. 64)     How do I setup DNS on Solaris2.x?
  2144.  
  2145.     The "Setting up DNS clients" chapter of that manual is egregiously 
  2146.     out of date.  Yes, there's a bug filed against it.  
  2147.     The correct procedure is the following:
  2148.  
  2149.            Create a /etc/resolv.conf file.
  2150.  
  2151.            Change /etc/nsswitch.conf;  it's probably easiest 
  2152.     to start with the sample file "/etc/nsswitch.files" and change 
  2153.     the entry for "hosts" to the following:
  2154.  
  2155.                 hosts: files dns
  2156.  
  2157.            Processes that have already read /etc/nsswitch.conf won't see your
  2158.     changes until they're restarted.  If you care, the crude but effective
  2159.     approach is to reboot.
  2160.  
  2161. 65)     Can a SPARCclassic or LX run SunOS 4.1.3?
  2162.  
  2163.     No it won't run 4.1.3. However, Sun will provide you with
  2164.     a copy Solaris1.1C(4.1.3C) which will allow you to run
  2165.     "4.1.3" on a LX or Classic. These machines can also run
  2166.     4.1.3_U1 and 4.1.4. See Question 61 for more details.
  2167.  
  2168.     The cost is around $125 for the media and $100 for the RTU
  2169.     license.
  2170.  
  2171.     Users of 4.1.3C should get the DBRI patch if you don't have a
  2172.     speaker box!
  2173.  
  2174.  
  2175. 66)     I just restored my root partation and now I cannot boot.
  2176.         What is wrong?
  2177.  
  2178.  
  2179.         You probably need to run installboot.  Under Solaris 1, boot
  2180.         from cdrom, boot the miniroot, mount the root filesystem on
  2181.         /mnt, and reinstall the boot block:
  2182.  
  2183.             cd /usr/kvm/mdec    # note - miniroot's usr, not sd0's
  2184.             installboot -vlt /mnt/boot bootsd /dev/rsd0a
  2185.  
  2186.         For Solaris 2, the equivalent command, which may also live
  2187.         outside the miniroot, would be:
  2188.  
  2189.             /usr/sbin/installboot /usr/lib/fs/ufs/bootblk \
  2190.             /dev/rdsk/c0t0d0s0
  2191.  
  2192.         Under Solaris 1, if only your /vmunix is bad, you may not need
  2193.         to restore anything from tape.  Before running installboot:
  2194.  
  2195.             cp /mnt/usr/kvm/sys/<arch>/<kernel>/vmunix /mnt/vmunix
  2196.  
  2197.  
  2198.  
  2199. 67)    How do I disable/enable packet forwarding?
  2200.  
  2201.     For 4.1.x:
  2202.     Pick one of the following methods:
  2203.  
  2204.      adb -k -w /vmunix /dev/mem
  2205.     ip_forwarding?
  2206.     _ip_forwarding:
  2207.     _ip_forwarding: 0               = unimp         0x0
  2208.  
  2209.     ip_forwarding/w -1      <- changes in running kernel only!
  2210.     ip_forwarding?w -1      <- changes running kernel and disk image
  2211.  
  2212.     or 
  2213.  
  2214.     In your kernel configuration file, insert the following line:
  2215.  
  2216.     options "IPFORWARDING=-1"
  2217.  
  2218.     Note: The above example disables packet forwarding.
  2219.  
  2220.     Here is a list of IP forwarding options
  2221.     (from /usr/kvm/sys/netinet/in_proto.c) 
  2222.         ip_forwarding = -1  -- never forward; never change this value.
  2223.         ip_forwarding =  0  -- don't forward; set this value to 1 
  2224.                        when two interfaces are up.
  2225.             ip_forwarding =  1  -- always forward.
  2226.  
  2227.     For Solaris2.3:
  2228.  
  2229.     To disable ip_forwarding:
  2230.  
  2231.          % ndd -set /dev/ip ip_forwarding 0
  2232.  
  2233.     To enable ip_forwarding:
  2234.  
  2235.          % ndd -set /dev/ip ip_forwarding 1
  2236.  
  2237.     To reset it back to defaults:
  2238.  
  2239.          % ndd -set /dev/ip ip_forwarding 2
  2240.     
  2241.  
  2242. 68)    How do I disable the printing of banners pages?
  2243.     
  2244.     Under SunOS 4.x you need to do the following:
  2245.     
  2246.         Put :sh: in the /etc/printcap entry
  2247.         for that printer.
  2248.  
  2249.     For SPARCprinters you will need to edit the .param for that 
  2250.     printer. Under SunOS4.x you this file is located in the spool
  2251.     directory for that particular printer. Under SunOS5.x
  2252.     it is located under /etc/lp/printers/PRINTERNAME.
  2253.     Change the line BANNERPS=${DEFBANNER}; export BANNERPS
  2254.             to
  2255.             BANNERPS=; export BANNERPS
  2256.  
  2257.     Also, you may want to turn off Job Log printing. You can do
  2258.     this by changing the line PRINTJOBLOG=yes; export PRINTJOBLOG
  2259.             to
  2260.                   PRINTJOBLOG=no; export PRINTJOBLOG
  2261.  
  2262.  
  2263.     If you want to disable the banner pages permanently you
  2264.     will need to perform the following steps:
  2265.  
  2266.         1. cd /usr/lib/lp/model
  2267.         2. cp standard standard-nobanner
  2268.         3. Use your favorite editor to edit standard-nobanner.
  2269.            Change line 332 from:
  2270.                 nobanner="no"
  2271.            to:
  2272.                 nobanner="yes"
  2273.         4. lpadmin -p PRINTERNAME -m standard-nobanner
  2274.  
  2275.     For a large network you can make this easier by copying a 
  2276.     custom interface script at install time and doing the appropriate 
  2277.     lpadmin command.
  2278.  
  2279.         
  2280.  
  2281. 69)    How do I change my hostname?
  2282.  
  2283.     Under SunOS 4.x you need to do the following:
  2284.  
  2285.         Edit you /etc/hosts file and change your
  2286.         local hostname. To avoid problems during
  2287.         the transition you may want to add this
  2288.         as an hostname alias.
  2289.  
  2290.         If you are running NIS you should change the
  2291.         /etc/hosts file on the master too.
  2292.  
  2293.         Change the hostname in /etc/hostname.xxx.
  2294.         Where xxx is the interface you want to change
  2295.         the address on.
  2296.         
  2297.  
  2298.     Under SunOS 5.x you need to the above plus
  2299.     change /etc/nodename, and the entries in /etc/net/*/hosts
  2300.  
  2301.  
  2302.     Both OS's also support the sys-unconfig program which can
  2303.     be used indirectly to change your hostname and any number
  2304.     of other things. This program is over kill if all you want
  2305.     to do is change your hostname. See the manpage for more details.
  2306.     
  2307.  
  2308. 70)     Table of Solaris2.x files and their Solaris1.x equivalents?
  2309.  
  2310.     SunOS 4.x file        SunOS 5.x file
  2311.     /etc/fstab        /etc/vfstab
  2312.     /etc/exports        /etc/dfs/dfstab
  2313.     /etc/printcap        None
  2314.     /etc/fbtab         /etc/logindevperm   -- available in SunOS 5.3
  2315.     /etc/rc.local        /etc/rc3.d/S99local -- See note 1.
  2316.  
  2317.  
  2318.     Note 1:  Here is a template file for /etc/rc3.d/S99local.
  2319.  
  2320.     #!/bin/sh
  2321.  
  2322.     state=$1
  2323.     case $state in
  2324.     
  2325.     # Any applications or daemons you want to start.
  2326.     'start')
  2327.         echo "starting local apps"
  2328.         ;;
  2329.     # Any applications or daemons that need to be shutdown gracefully.
  2330.     'stop')
  2331.         echo "Stopping local apps"
  2332.         ;;
  2333.     esac
  2334.  
  2335.  
  2336.     You may need to put the "kill" script in /etc/rc2.d/K99local but it
  2337.     is not really required.
  2338.  
  2339.  
  2340. 71)    Where can I get the BSD print spooler for Solaris2.x?     
  2341.  
  2342.     You can get the 4.3BSD-reno lpr system from the following site:
  2343.  
  2344.         ftp.nus.sg:/pub/NUS/ISCS/misc/lpr-sol2-p2.tar.gz
  2345.  
  2346.      Or get  PLP from iona.ie:/pub/plp/
  2347.  
  2348.     It has vastly enhanced features, like paths for printcaps, NIS and
  2349.     Hesiod support, configurable permissons for printers, ability to
  2350.     move jobs between printers and compiles out of the box on HPUX, 
  2351.     Solaris, and SunOS.
  2352.  
  2353.     Last Updated:  March 3, 1995.
  2354.  
  2355. 72)     Where is the Solaris2.x screenblank?
  2356.  
  2357.     You have three choices:
  2358.  
  2359.     Run XDM on the console and use the X servers builtin screenblank.
  2360.  
  2361.     Or you can run the 4.1.x screenblank in compatabilty mode.
  2362.  
  2363.     Or you can compile you own screenblank from sources available from
  2364.  
  2365.        thor.ece.uc.edu:/pub/sun-faq/Source/screenblank_27dec94.tar.Z
  2366.  
  2367.     You can always get the current screenblank from
  2368.  
  2369.        ftp://ftp.ee.lbl.gov/  or  ftp://ftp.netcom.com/pub/je/jef/
  2370.  
  2371.     Last Updated:  March 3, 1995.
  2372.  
  2373. 73)     Is there a command to display the configuration of 
  2374.     currently attached SCSI devices?
  2375.     
  2376.     SCSIinfo will do this. Get scsiinfo-2.0.shar from thor.ece.uc.edu
  2377.     in the /pub/sun-faq/Source directory.
  2378.  
  2379.     Get scsiping from the same place as above. You need scsiping 4.0beta
  2380.     to have it work under Solaris2.4.
  2381.  
  2382.     These commands work under SunOS 4.x and Solaris2.x.
  2383.  
  2384.     Last Updated:  March 3, 1995.
  2385.  
  2386. 74)     My printer will not print large files(over 1-megabyte), I 
  2387.     keep getting "file to big" errors. What do I do?
  2388.  
  2389.     Put the following line in your /etc/printcap file
  2390.     for the printer that has the problem.
  2391.  
  2392.     :mx#0:
  2393.  
  2394.     This basically allows for unlimited sizes of print jobs.
  2395.     Of course you are still limited by your amount of
  2396.     spool space.
  2397.  
  2398.     If you do not have access to /etc/printcap you can
  2399.     use the -s switch to lpr to use a "symlink" of the    
  2400.     file instead of copying the "real" file to the spool 
  2401.     directory.
  2402.     
  2403. 75)     I keep getting "data corruption" when using NFS over a wan,
  2404.     or slip/ppp link. What do I do?  or
  2405.     Does anybody know how to enable UDP checksum on NFS?
  2406.  
  2407.     The usually cause for this(at least for SunOS4.x) is not
  2408.     having udp checksumming turned on. 
  2409.  
  2410.     You can turn it at boot and while the machine is running 
  2411.     by using the following adb script:
  2412.     
  2413.     #!/bin/sh
  2414.     adb -w -k /vmunix /dev/mem << EOF
  2415.     udp_cksum?W1
  2416.     udp_cksum/W1
  2417.     EOF
  2418.  
  2419.     Install or call this script from rc.local.
  2420.  
  2421.     Or edit /usr/kvm/sys/netinet/in_proto.c and change the
  2422.     udp_cksum line (near the end from  udp_cksum = 0 to udp_cksum =1
  2423.     and reconfigure your kernel and reboot)
  2424.  
  2425.     For Solaris2.3:
  2426.  
  2427.     udp checksumming is turned on by default under SunOS5.x.
  2428.     
  2429.     If you want to verify the value use the following:
  2430.  
  2431.         ndd /dev/udp udp_do_checksum
  2432.  
  2433.     See ndd (1M) and ip (7) manual pages for more details.
  2434.  
  2435.  
  2436. 76)     Does anybody know how to enable UDP checksum on NFS?
  2437.  
  2438.     See the answer to question 75.
  2439.  
  2440. 77)     Is there a mailing list for Wabi?
  2441.  
  2442.     No. Currently, Sun has the following E-mail addresses that
  2443.     you can get information about Wabi and the Windows
  2444.     Apps that Wabi supports. These addresses are as follows:
  2445.  
  2446.     For Wabi version 1:
  2447.          wabi1.0-questions@east.sun.com    - FAQ List
  2448.         wabi1.0-apps@east.sun.com    - Supported Applications list
  2449.     For Wabi version 2:
  2450.          wabi2.0-questions@east.sun.com    - FAQ List
  2451.         wabi2.0-apps@East.Sun.COM    - Supported Applications list
  2452.  
  2453.  
  2454.  
  2455.  
  2456. 78)     Are there any public domain Multi-Vendor backup management
  2457.         systems?
  2458.  
  2459.     There are at least two such programs which are as follows:
  2460.  
  2461.     Amanda from the University of Maryland which is written in
  2462.     C and built on top of standard UNIX backup software
  2463.     such as dump/restore. The current source is available from
  2464.     ftp.cs.umd.edu in the /pub/amanda directory.
  2465.  
  2466.     OSU Backup from Ohio State University which is written in perl
  2467.     and built on top of standard UNIX backup software such as
  2468.     dump/restore, cpio, and GNU tar. It has the ability to backup
  2469.     some database systems(like ORACLE). Finally, it is evolving to
  2470.     support the backup of PCs via a proxy service. The current 
  2471.     source is available from ftp.cis.ohio-state.edu in /pub/backup.
  2472.  
  2473. 79)     How to determine the revision of SuperSPARC processor.
  2474.  
  2475.     There are 2 methods to identify SuperSPARC revision - by physical 
  2476.     inspection and by using the system PROM.
  2477.  
  2478.     To determine SuperSPARC revision by physical inspection:
  2479.  
  2480.         - Open system chassis (as needed)
  2481.         - Locate the SuperSPARC processor on the CPU module. The processor
  2482.           has a heat sink mounted on its top surface.  The heat sink
  2483.           may be round or of "pin fin" design.  On modules with
  2484.           External cache, the processor is the farthest from mbus
  2485.           connector.
  2486.         - 4 lines of alpha-numeric text are written on the top 
  2487.           right corner of the processor. The second line contains the 
  2488.  
  2489.          processor revision.  The format is 
  2490.                 alpha character, 2 revision digits, 8 other alpha/digits
  2491.           Examples of processor revisions are:
  2492.                 H283915478C             H313020233C             H3503027203
  2493.                  ^^                      ^^                      ^^
  2494.                  ||                      ||                      ||
  2495.                 Indicates a 2.8, 3.1, and 3.5 SuperSPARC revisions respectively
  2496.  
  2497.     To determine SuperSPARC revision using the system PROM:
  2498.  
  2499.         - On a powered on system, in single user mode, press 
  2500.                 'L1'  and 'A'
  2501.           keys simultaneously.  On some keyboards the keycaps will be labeled
  2502.                 'Stop' and 'A'
  2503.  
  2504.         - On your monitor the following will be displayed
  2505.                 Type 'go' to resume
  2506.                 ok
  2507.         - Type
  2508.                 .psr <Return>
  2509.           Your monitor will display a line of data.  Look for VER and
  2510.           IMPL fields and note their values.
  2511.  
  2512.         - Type
  2513.                 .mcr <Return>
  2514.           Your monitor will display a line of data.  Look for VER and
  2515.           IMPL fields and note their values.
  2516.  
  2517.         - Type
  2518.                 go <Return>
  2519.         - You now may continue to use your system normally.
  2520.  
  2521.         - Using the PSR and MCR IMPL/VER values you noted above,
  2522.           match them with the values in the table below to identify
  2523.           the SuperSPARC revision.  Future processors will have 
  2524.           values different than those in the table.
  2525.         
  2526.                 | SuperSPARC    (2.x)   |(3.0,1,2,3) |   (3.5)    |
  2527.                 +-----------+-----------+------------+------------+
  2528.                 | PSR VER   |       1   |        0   |         0  |         
  2529.                 | PSR IMPL  |       4   |        4   |         4  |
  2530.                 | MCR VER   |       0   |        1   |         4  |         
  2531.                 | MCR IMPL  |       0   |        0   |         0  |  
  2532.  
  2533. 80)    How do I install SunOS4.1.x by hand(off a CD)?
  2534.  
  2535.     Installing SunOS-4.1.X from mounted cdrom:
  2536.     
  2537.     Note, these commands are examples; filenames may need to be adjusted 
  2538.     for your OS version or architecture.  You can perform this from a Sun3 
  2539.     or Sun4 running any SunOS-4.1.X, provided you take care to run the 
  2540.     right version of "installboot".  The man page includes details about 
  2541.     which systems require bootblocks with a.out format executables with
  2542.     headers, and which versions of installboot provide such.
  2543.     
  2544.     You need to change all occurances of /dev/rsd?a etc with
  2545.     the proper disk and partition information. For most SCSI
  2546.     disk configurations this device is /dev/rsd0a but check
  2547.     the boot messages to be sure.
  2548.  
  2549.     The example below assumes a SunOS 4.1.3_U1 distribution
  2550.     CD-ROM. Change sunos_4_1_3_u1 to the proper value for your
  2551.     distribution. 
  2552.  
  2553.  
  2554.     1) Label, format, and partition your new hard disk.
  2555.        be sure sd?b is bigger then your physical RAM will be
  2556.            (else system dump may overwrite /usr)
  2557.        Use the device name you are installing to.
  2558.        You may want to also make a /dev/rsd?d /var partition
  2559.        
  2560.        newfs /dev/rsd?a ; newfs /dev/rsd?d ; newfs /dev/rsd?f
  2561.        mount /dev/rsd?a /mnt
  2562.        mkdir /mnt/var ; mount /dev/sd?d /mnt/var    # if you made one
  2563.        mkdir /mnt/usr ; mount /dev/sd?f /mnt/usr
  2564.     
  2565.     2) mount -t hsfs -o ro /dev/sr0 /cdrom
  2566.        cd /mnt
  2567.        tar xpf /cdrom/export/exec/proto_root_sunos_4_1_3_u1
  2568.     
  2569.     3) Install kernel specific sys files, pick correct directory
  2570.        for your 'arch -k'
  2571.        
  2572.        mkdir /mnt/usr/kvm
  2573.        cd /mnt/usr/kvm
  2574.        tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/kvm
  2575.        tar xpf /cdrom/export/exec/kvm/sun4c_sunos_4_1_3_u1/sys
  2576.     
  2577.     4) pick packages you want, but you must install usr
  2578.  
  2579.        cd /mnt/usr
  2580.        tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/usr
  2581.        tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/debugging
  2582.              tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/demo
  2583.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/games
  2584.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/graphics
  2585.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/install
  2586.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/networking
  2587.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_demo
  2588.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_fonts
  2589.         tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_programmers
  2590.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/openwindows_users
  2591.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/rfs
  2592.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/security
  2593.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/shlib_custom
  2594.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_demo
  2595.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_programmers
  2596.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/sunview_users
  2597.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/system_v
  2598.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/text
  2599.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/tli
  2600.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/user_diag
  2601.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/uucp
  2602.          tar xpf /cdrom/export/exec/sun4_sunos_4_1_3_u1/versatec
  2603.        
  2604.     
  2605.         5) Install man pages if you want
  2606.          cd /mnt/usr
  2607.          tar xpf /cdrom/export/share/sunos_4_1_3_u1/manual    
  2608.   
  2609.         6) set up /sbin
  2610.          
  2611.          cp /mnt/usr/etc/hostconfig /mnt/sbin
  2612.          cp /mnt/usr/etc/ifconfig /mnt/sbin
  2613.          cp /mnt/usr/etc/init /mnt/sbin
  2614.          cp /mnt/usr/etc/intr /mnt/sbin
  2615.          cp /mnt/usr/etc/mount /mnt/sbin
  2616.          cp /mnt/usr/bin/sh /mnt/sbin
  2617.          cp /mnt/usr/bin/hostname /mnt/sbin
  2618.      
  2619.         7)  make new device nodes, you may do as needed
  2620.          
  2621.          cd /mnt/dev
  2622.          ./MAKEDEV std pty0 pty pty2 pty3 win0 win1
  2623.   
  2624.         8) additional root setup
  2625.  
  2626.          cp /mnt/usr/kvm/stand/vmunix /mnt
  2627.          chmod go-x /mnt/vmunix
  2628.          cp /mnt/usr/kvm/stand/boot.sun4 /mnt/boot
  2629.   
  2630.         9) run installboot
  2631.          I suggest reading the man page, note paths below, take care
  2632.          to run operating installboot binary, but specify device and
  2633.          paths for new boot disk.  You can even do this from a Sun3.
  2634.  
  2635.          /usr/kvm/mdec/installboot -ltv /mnt/boot \
  2636.                /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2637.   
  2638.          if you are making a sun4c boot disk and running on a 4 or 4m
  2639.          machine:
  2640.  
  2641.          /usr/kvm/mdec/installboot -ltvh /mnt/boot \
  2642.               /mnt/usr/kvm/mdec/bootsd /dev/rsd?a
  2643.   
  2644.          if you are making a sun4 boot disk on a 4c machine, you need
  2645.          to use a 4c installboot, not the one on your sun4.
  2646.   
  2647.        10) if it will have a Lance interface
  2648.           echo newhostname > /mnt/etc/hostname.le0
  2649.          or if will have an Intel interface
  2650.           echo newhostname > /mnt/etc/hostname.ie0
  2651.   
  2652.        11) create /mnt/etc/fstab, /mnt/etc/defaultrouter, 
  2653.          /mnt/etc/resolv.conf
  2654.          /mnt/etc/hosts  (must have own entry here)
  2655.          I also create /mnt/etc/shells, /mnt/etc/ftpusers
  2656.          Depending on your timezone:
  2657.          don't forget to 'rm /usr/lib/zoneinfo/localtime', then
  2658.  
  2659.             'ln /usr/lib/zoneinfo/EST5EDT /usr/lib/zoneinfo/localtime'
  2660.   
  2661.        12) Perform sanity check
  2662.        umount and fsck he newly installed filesystems 
  2663.  
  2664.          umount /mnt/usr
  2665.          umount /mnt/var
  2666.          umount /mnt
  2667.             for the really paranoid:
  2668.          fsck /dev/rsd?f
  2669.          fsck /dev/rsd?d
  2670.          fsck /dev/rsd?a
  2671.   
  2672.     I suggest booting single user the first time ( from the '>'
  2673.     prompt  b sd() -s or from the ok prompt boot disk -s ).
  2674.     
  2675.     Knowing the above may save you from doing total re-installs just
  2676.     because of a messed up root partition or similar.  
  2677.     
  2678.     If you are copying an existing OS, instead of extracting distribution
  2679.     tar files, you may use the following before running installboot etc...: 
  2680.     
  2681.         dump 0dsf 6250 200000 - <directories and files to include> |
  2682.              (cd /mnt/<area> ; restore -rf - )
  2683.     or
  2684.         find . -depth -print | cpio -pdlm newdir
  2685.  
  2686.     You  use find command rules to limit to a device or skip/include
  2687.     specific files.
  2688.  
  2689.     You could use tar to copy these directories too but
  2690.     you will have to recreate all the devices using in MAKEDEV
  2691.     which can take a long time.
  2692.     
  2693.     Last Updated:  January 27, 1995.
  2694.  
  2695. 81)     There is a problem with the firmware on older SUN207 drives
  2696.         that makes them incompatible with the SPARCstation 10 series.
  2697.         Sun has been known to replace these at no charge, although
  2698.         there may not be an "official" return policy.  Your drive 
  2699.         must have firmware revision 19 or higher to be functional
  2700.         in a SPARCstation 10.
  2701.  
  2702. 82)    I'm running SunOS/4.1.x and every time I try to format my
  2703.         new 9GB SCSI disk I get "format failed" messages -- what's
  2704.         broke, and how can I fix it?
  2705.  
  2706.     The SunOS kernel has a default timeout of two hours for SCSI
  2707.         formatting -- if the time required to perform the format is
  2708.         longer, the format fails.
  2709.  
  2710.         Edit /usr/sys/scsi/targets/sddef.h or apply the following "diff",
  2711.         then rebuild the kernel:
  2712.  
  2713. *** sddef.h.orig  Tue Nov 29 07:52:53 1994
  2714. --- sddef.h  Tue Nov 29 07:52:53 1994
  2715. ***************
  2716. *** 396 ****
  2717. ! #define SD_FMT_TIME     120*60
  2718. *** 396 ****
  2719. ! #define SD_FMT_TIME     240*60
  2720.  
  2721.  
  2722. 83)       I can not get my new Exabyte 8505(or others) working under
  2723.          SunOS(or Solaris) What to do ?
  2724.  
  2725.     Out of the box this drive and other Exabytes are not supported
  2726.     under Solaris2.3 or SunOS4.1.x.
  2727.  
  2728.     Here is what to do under SunOS
  2729.     Modify /sys/scsi/targets/st_conf.c before, after, or between the 8200 
  2730.     insert the following:
  2731.  
  2732.     /* Exabyte 8mm 5GB cartridge  w/compression*/ \
  2733.     {
  2734.     "Exabyte EXB8505", 16, "EXABYTE EXB-8505", ST_TYPE_EXB8500, \
  2735.      1024, (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE | ST_KNOWS_EOD), \
  2736.         8000000, 30, 30, 30, 30,        60, 60, 60, 60, \
  2737.         0x14, 0x15, 0x90, 0x8c,  0, 0, 0, 0 }, \
  2738.     
  2739.     Once you've remade your kernel it appears as 4 different devices:
  2740.  
  2741.     /dev/rst0     - 2.3Gb             (8200 mode)
  2742.     /dev/rst8    - 5Gb               (8500 mode)
  2743.     /dev/rst16    - 2.3Gb compressed  (8200c mode)
  2744.     /dev/rst24    - 5Gb compressed    (8500c mode)
  2745.     
  2746.            The above assumes tape drive is installed at the default SCSI id.
  2747.  
  2748.     Under Solaris2.x do the following:
  2749.  
  2750.     Edit /kernel/drv/st.conf and add
  2751.  
  2752.     tape-config-list=
  2753.         "EXABYTE EXB-8505", "Exabyte 8505  8mm Helical Scan", "Exa8500c_sol2_3";
  2754.         Exa8500c_sol2_3 = 1,0x29,1024,0xCE39,4,0x14,0x15,0x90,0x8C,3;
  2755.  
  2756.     Once the device driver is re-loaded, the following densities will be
  2757.     accessible:
  2758.  
  2759.     /dev/rmt/0l   - 2.3Gb             (8200 mode)
  2760.     /dev/rmt/0m   - 5Gb               (8500 mode)
  2761.     /dev/rmt/0h   - 2.3Gb compressed  (8200c mode)
  2762.     /dev/rmt/0c   - 5Gb compressed    (8500c mode)
  2763.  
  2764.        The above assumes tape drive is installed at the default SCSI id.
  2765.  
  2766.        Since the default density specified above is 3 (last number in entry),
  2767.     when /dev/rmt/0 is specified, device /dev/rmt/0c (5Gb compressed) will
  2768.     be used.
  2769.  
  2770.     For SunOS and a 10-Gigibyte Exabyte the settings are as follows:
  2771.  
  2772.     /* Exabyte 8mm 10GB cartridge */
  2773.     {
  2774.             "Exabyte EXB-8500 8mm Helical Scan", 15, "EXABYTE EXB-8500",
  2775.             ST_TYPE_EXB8500, 1024,
  2776.             (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),
  2777.             5000, 5000,
  2778.             { 0x14, 0x15, 0x8C, 0x8C },
  2779.             {  0, 0, 0, 0 }
  2780.  
  2781.     The device is accessed via a +16 offset from the normal 
  2782.     tape devices ie /dev/rst{16,17}. Dump parameters are 
  2783.     dsb 54000 26000 126.
  2784.  
  2785.  
  2786. 84)     The keyboard keeps stop working after exiting X or Openwin.
  2787.     What to do?
  2788.  
  2789.     For the general case all you need to do is log in remotely
  2790.     and reset the keyboard using /usr/openwin/bin/kbd_mode -a
  2791.  
  2792.     If this does not work I have modified kbd_mode to do a full keyboard
  2793.      power on reset (thor.ece.uc.edu:/pub/sun-faq/Source/reset_keyboard.c)
  2794.  
  2795.     If that does not seem to help you may have a white on white
  2796.     screen so try to clear the colormap using clear_colormap.
  2797.  
  2798.     Make sure that you add kbd_mode -a  to all you X11 startup scripts.
  2799.  
  2800.  
  2801. 85)     How do I re-build the kernel under SunOS4.x?
  2802.  
  2803.     Here is the procedure.
  2804.  
  2805.      1) cd /sys/`arch -k`/conf
  2806.      2) Read the README.
  2807.      3) Make a copy of the proper template file(ie cp GENERIC MYKERNEL)
  2808.      4) Edit MYKERNEL  - Remove any unneeded drivers. They are memory
  2809.                  wasters. Also, probably want to increase
  2810.                  MAXUSERS.
  2811.      5) config MYKERNEL
  2812.      6) cd ../MYKERNEL
  2813.      7) make
  2814.      8) cp /vmunix /vmunix.save
  2815.      9) cp vmunix /vmunix
  2816.     10) Reboot machine to make the new kernel active. 
  2817.     
  2818.  
  2819.     
  2820. 86)     How do I hook up a HP(or other) Desktop SCANNER?
  2821.  
  2822.     You need PINT which available from uniwa.uwa.edu.au (130.95.128.1)
  2823.      in /pub/pint.
  2824.  
  2825. 87)     How do I find which process has a file open?
  2826.  
  2827.     Fuser and the the Public domain/Freeware utility lsof can be used
  2828.     to find processes that have files open and much more.
  2829.  
  2830.     Note: fuser on SunOS4.1.x is located in /usr/kvm.
  2831.  
  2832.     
  2833. 88)      How do I create a partition greater than 2-gig on SunOS4.1.x?
  2834.  
  2835.     The max size without any additional software is 2-gig under
  2836.     SunOS.  The only way to get larger partitions is to purchase
  2837.     Online: Disksuite for SunOS4.1.x from Sun. Not only can you create
  2838.     partitions of up to 1 TB, but you can grow partitions on the fly,
  2839.     mirror, and hotswap with ODS. However, you are still limited to
  2840.     2-Gig files.
  2841.  
  2842.     Note: Solaris2.3 or higher can have 1-Terabyte partitions.
  2843.  
  2844. 89)      Why do I keep having to answer the question 
  2845.     "CLEAN FLAG IN SUPERBLOCK IS WRONG; Fix?" when running fsck on
  2846.     an active filesystem?
  2847.  
  2848.     You are not supposed to under any circumstances run fsck on 
  2849.     a mounted filesystem. Under these cirumstances Fsck can itself
  2850.      cause inconsistencies to the filesystem and you should always
  2851.     you umount the filesystem frist.
  2852.     
  2853.  
  2854. 90)     Are dynamically linked setuid executables insecure?
  2855.  
  2856.     Not particularly.
  2857.  
  2858.     From the "ld" man page from SunOS 4.1.3:
  2859.  
  2860.           NOTE: when running a set-user- or set-group-ID program, ld.so
  2861.         will only search for libraries in directories it "trusts",
  2862.         which are /usr/lib, /usr/5lib, /usr/local/lib, and any
  2863.             directories specified within the executable as a result of
  2864.          -L options given when the executable was constructed.
  2865.  
  2866.     Of course you do always want to link with absolute pathnames
  2867.     when using the -L linker option and probably destroy any
  2868.     LD_* variables when running(just a little paranoia). 
  2869.  
  2870.  
  2871. 91)    How do I change the default router under Solaris1.x or Solaris2.x?
  2872.  
  2873.     Just create or edit the file /etc/defaultrouter and put the hostname
  2874.     or ip address of the router that you want to use.
  2875.  
  2876.     If you are not running NIS(yp), then add the router entry in the
  2877.     local /etc/hosts table.
  2878.  
  2879.     If you are running NIS(yp), then add the router entry in the NIS
  2880.     hosts map on the NIS master and run make which will build the NIS
  2881.     maps and push them to the other slave servers.
  2882.  
  2883.  
  2884. 92)    What is the difference between the Domestic vs International version
  2885.     of SunOS 4.1.x?
  2886.  
  2887.     There is no "domestic" vs "international" version of SunOS 4.1.x.
  2888.     There is only one version the "international".
  2889.  
  2890.     What makes a  "domestic" version of the SunOS is a the purchase
  2891.     and installation of US Encryption Kit available from with the
  2892.     United States and Canada(?).
  2893.  
  2894.     If you have installed this kit you must use the libc jumbo patch
  2895.     for the "domestic" version. Otherwise always install the 
  2896.     "international" version.
  2897.  
  2898.     If you have the symbols des_encrypt etc in your shared library,
  2899.      and vi -x works, and you the commands crypt(1) and des(1) you
  2900.     have the "domestic" version of the library and associated commands.
  2901.  
  2902.     Do an nm /lib/libc.a | grep des_encrypt | grep T
  2903.     if this cames back with anything you have the "domestic"
  2904.     libraries.
  2905.  
  2906.     Last Updated:  January 27, 1995.
  2907.  
  2908. 93)    Where can I get the latest version of TOP? 
  2909.  
  2910.     The latest version of "top" is always available via anonymous FTP
  2911.     from the host "eecs.nwu.edu" in the directory "/pub/top".  Additional
  2912.     modules will be made available in the directory "/pub/top/m".
  2913.  
  2914.     The current version supports both SunOS4.1.x and Solaris2.x 
  2915.     machines including full Multiprocessor support (even on machines
  2916.     with CPU labeled 0 and 2 and not 0 and 1).
  2917.  
  2918.     Last Updated:  January 27, 1995.
  2919.  
  2920. 94)    Can I run the SX card in a Sun running SunOS4.1.x?
  2921.  
  2922.     THEY DO NOT EXIST NOR WILL THEY(unless one of the Clone makers
  2923.     writes one). If you want to use the SX, YOU MUST USE Solaris 2.3 or
  2924.     above.
  2925.  
  2926.     If you MUST run Solaris 1.x then get your salesperson to exchange it
  2927.     for a TGX/TGX+(or other 8-bit card) or go with a 3rd party framebuffer
  2928.     such as the RasterFlex-24.
  2929.  
  2930. 95)    I just changed my shell to tcsh(or pick a favorite) and
  2931.     get  "530 User xyzz access denied" when ftping into this 
  2932.     machine. What is the problem?
  2933.  
  2934.     You need to list all "valid" shells in /etc/shells. An example
  2935.     of this file might be as follows:
  2936.  
  2937.         /bin/sh
  2938.         /bin/ksh
  2939.         /bin/csh
  2940.         /local/bin/tcsh
  2941.         /local/bin/zsh
  2942.         /local/bin/bash
  2943.         /local/bin/rc
  2944.  
  2945.     This files does not normally exist and the default members are
  2946.     /bin/csh and /bin/sh(and /bin/ksh on Solaris2.x).
  2947.  
  2948.     Last Updated:  January 10, 1995.
  2949.  
  2950. 96)    How do I put several dump images on one tape?
  2951.  
  2952.     All you need to do is use the No rewind devices. For example,
  2953.     to backup /, /usr, /var, and /home to one tape(assuming all
  2954.     will fit) you could do something like this:
  2955.  
  2956.     mt -f /dev/rst8 rew        # Rewind the tape to the beginning
  2957.     dump 0budfs 126 54000 /dev/nrst8 6000    /
  2958.     dump 0budfs 126 54000 /dev/nrst8 6000    /usr
  2959.     dump 0budfs 126 54000 /dev/nrst8 6000    /var
  2960.     dump 0budfs 126 54000 /dev/nrst8 6000    /home
  2961.  
  2962.     Where /dev/nrst8 is a no rewind device under SunOS. Any
  2963.     of the valid tape devices in /dev that start with a 'n' are
  2964.     no rewind devices.    
  2965.  
  2966.     Under Solaris change dump to ufsdump and /dev/nrst8 to /dev/rmt/0n
  2967.     All devices in /dev/rmt/ ending in a 'n' are no rewind devices.
  2968.  
  2969.     You can safely ignore any messages about dump rewinding the tape.
  2970.     To restore files off the tape use the following command:
  2971.  
  2972.         restore -ifs /dev/nrewinddevice filenumber  -- SunOS
  2973.         ufsrestore -ifs /dev/rmt/nrewinddevice filenumber  -- Solaris
  2974.  
  2975.         -ifs is for interactive restore  or use
  2976.             -rfs to restore entire dump file.
  2977.  
  2978.     It is a good idea to try restore something off this tape
  2979.     to verify that the dump worked. Of course you do not have to do
  2980.     this for ever tape just the first few and maybe spot check some
  2981.     after that.
  2982.     
  2983.     Note: the above method can be adopted to other backup commands
  2984.           like tar and cpio.
  2985.  
  2986.     Last Updated:  January 27, 1995.
  2987.  
  2988. 97)    Can I "dump" the whole disk to tape in one command?
  2989.     (even with several slices/partitions)
  2990.  
  2991.     No, you have to back up each slice separately because
  2992.     dump does not do "image" backups. See question  96 for
  2993.     the proper procedure.
  2994.  
  2995.     You could use the command dd to make an "image" backup of the
  2996.     entire disk but all you could do is restore the entire
  2997.     backup and not bits and pieces.
  2998.  
  2999.     Last Updated:  January 27, 1995.
  3000.  
  3001. 98)    Where do I get software for my HP JetDirect Ethernet Card?
  3002.  
  3003.     JetAdmin software is available via anon-ftp from 
  3004.     ftpboi.external.hp.com, in the directory pub/jetdirect.  Software
  3005.     for both SunOS4.1.x and Solaris2.x is available.
  3006.  
  3007.     Also, you can get it via WWW using the following:
  3008.  
  3009.         http://www.hp.com/Misc/Peripherals.html
  3010.  
  3011.     Last Updated:  January 17, 1995.
  3012.  
  3013. 99)    I do not know the root password, What do I do?
  3014.  
  3015.     First thing to try: (SunOS 4.x.x)
  3016.     
  3017.     Get to the boot monitor prompt by holding down the stop and
  3018.     A. Type sync to help ensure that you have no filesystem
  3019.     corruption on booting. You will need to hit STOP-A again to
  3020.     interrupt the boot process.
  3021.  
  3022.     Now at the '>' prompt type 
  3023.     
  3024.         b  -s 
  3025.  
  3026.     Or at the 'ok' prompt type 
  3027.  
  3028.         boot -s
  3029.  
  3030.     This should give you a root prompt as long as the console
  3031.     entry in /etc/ttytab is marked secure.
  3032.  
  3033.     If you get the '#' you should be able to edit the 
  3034.     the /etc/passwd file and remove the encrypted string for
  3035.     root's passwd or set it to what you want using the passwd
  3036.     command. 
  3037.  
  3038.     Once you are done type reboot to bring the machine back up.
  3039.  
  3040.     Second thing to try: (SunOS 4.1.x and Solaris2.x)
  3041.  
  3042.     Boot off the network or CD-ROM and mount the root device
  3043.     and edit the passwd file.
  3044.  
  3045.     Note: both of these assume no eeprom password.
  3046.  
  3047.     Last Updated:  January 17, 1995.
  3048.  
  3049. 100)    Where do I find a POP server for Solaris or SunOS?
  3050.  
  3051.     You can get qpop from the following location
  3052.  
  3053.         ftp://ftp.qualcomm.com/quest/unix/servers/popper/
  3054.  
  3055.     Or you can get the IMAP distribution which contains a IMAP server,
  3056.     a POP 2 server, and a POP 3 server from the University of Washington
  3057.     from
  3058.  
  3059.         ftp://pine.cac.washington.edu/mail/imap.tar.Z
  3060.  
  3061.     This site also contains a list of IMAP client software.
  3062.  
  3063.     You should avoid the old Berkeley popper because of
  3064.     its many bugs and it is no longer well supported.
  3065.     Both of the above popper programs are well supported.
  3066.  
  3067.     Last Updated: February 9, 1995.
  3068.  
  3069. 101)    How do I clear Stale NFS Filehandles?
  3070.  
  3071.     You have to umount the offending filesystem and remount.
  3072.     You may able to do something like this:
  3073.  
  3074.     mount -o remount /offending-filesystem
  3075.  
  3076.     If this does not work try:
  3077.  
  3078.     umount /offending-filesystem
  3079.     mount /offending-filesystem
  3080.  
  3081.     Finally, if none of the above works reboot.
  3082.  
  3083.     Last Updated:  January 17, 1995.
  3084.  
  3085. 102)    How can I use the same ethernet interface for two different IP networks?
  3086.  
  3087.     The Solaris kernel supports the concept of IP aliases and you
  3088.     can do something like this 
  3089.  
  3090.         ifconfig le0:1     ipaddr netmask ....
  3091.  
  3092.     You can do the same under SunOS4.1.x if you install the VIF code.
  3093.     Can be picked up via anonymous FTP from:
  3094.  
  3095.         ugle.unit.no:/pub/unix/network/vif-1.0.tar.gz
  3096.  
  3097.     Last Updated:  January 27, 1995.
  3098.  
  3099.  
  3100. 103)     Where do I get CAP for Solaris(or SunOS)?
  3101.  
  3102.     Here is a list of ftp sites for CAP.
  3103.  
  3104.         munnari.OZ.AU           /mac/{cap60.tar.Z,cap.patches/*
  3105.         rutgers.EDU             /src/{cap60.tar.Z,cap60.patches/*
  3106.         ftp.kuis.kyoto-u.AC.JP  /net/cap/{cap60.tar.Z,cap60.patches/*.Z
  3107.         src.doc.ic.AC.UK        /mac/multigate/{cap60.tar.Z,cap.patches/*
  3108.  
  3109.     Make sure that you get all the patches and apply them.
  3110.     The main cap60.tar.Z  does not have any patches applied. You
  3111.     will need to apply all 192(or is 194) patches before compiling.
  3112.  
  3113.     Under Solaris make sure that you are using gcc or /opt/SUNWspro/bin/cc
  3114.     to compile.
  3115.  
  3116.     Last Updated:  January 17, 1995.
  3117.  
  3118. 104)    Where do I get DOOM for Solaris(or SunOS)?
  3119.  
  3120.     Doom for SunOS is not available at this time and it
  3121.     is unlikely that it will be.
  3122.  
  3123.     Doom for Solaris2.4 is available and can be retrieved
  3124.     from playground.sun.com:/pub/doom/sundgadoomv1.8.tar.Z
  3125.     The X version of doom in this tar file works fine 
  3126.     under Solaris2.3. The DGA version does not.
  3127.  
  3128.     This is the SPARC version. There are no plans for
  3129.     an x86 version at this time.
  3130.  
  3131.     Last Updated:  January 25, 1995.
  3132.  
  3133.  
  3134.  
  3135.